{"componentChunkName":"component---src-templates-blog-post-js","path":"/functional-programming/","webpackCompilationHash":"a7ab8d18fdc34af78ba8","result":{"data":{"site":{"siteMetadata":{"title":"From Hardware to Software","author":"Bradley Faircloth"}},"markdownRemark":{"id":"80671286-8d96-55af-824c-2c481e0d8c20","excerpt":"All puns aside, these past couple of weeks I have been diving into Clojure more than I have before. Clojure, written by Rich Hickey, is a functional language…","html":"<p>All puns aside, these past couple of weeks I have been diving into Clojure more than I have before.</p>\n<p>Clojure, written by Rich Hickey, is a functional language which runs in the Java Virtual Machine and has a base in Lisp. While the language was introduced to me by a co-worker a long time ago as they hoped we would use it in a current work project, I didn’t really see a need in my life for it.\nThat was until I was looking at some coding challenges which the less characters you used, the higher you were on the leaderboard. While Julia and JS are typically up there, Clojure for some matched the characters (and made more sense to me). Clojure also made sense for me to learn as it is a pure functional language which is what the book I am reading (last blog post) talks about.</p>\n<p>So I dove into Clojure and so far I can only say good things about it. It is built in a way that it should be immutable data (though this can be corrupted for challenges) and the syntax while not similar to the langauges I knew before, was easy to pick up. While the functional part of the language has some drawbacks when looping through code and trying to use as little characters as possible, it has really made me wonder if I was doing it the best way. </p>\n<p>Unfortunately, Googling problems isn’t always as helpful as it would be with a python solution but the subreddit is pretty active. But for me this has made it feel that much sweeter when I solve the problem without a stack overflow post as it feels like my problem solving skills are getting better. </p>\n<p>While currently I just plan to skim the surface so I can relate it to the functional programming book I am reading, I have a project for task scheduling in mind for 2020 which seems the best solution would be to write in Clojure.</p>\n<p>Thanks for taking the time to read this and I will see you on the flip side!</p>","frontmatter":{"title":"I Needed Some Clojure","date":"December 15, 2019","description":"Do you have time to talk about Clojure?"}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/functional-programming/","previous":{"fields":{"slug":"/Let's Be Functional/"},"frontmatter":{"title":"Let's Try To Be Functional. Please!"}},"next":{"fields":{"slug":"/Week 1 of Challenge/"},"frontmatter":{"title":"Project 1, Developer Portfolio"}}}}}