Functional Codi
15 Apr 2019
•
2 min read
If you’re reading this blog, chances are you’ve heard of Functional Programming. You may have played around with Scala, Clojure or Haskell. You might even be one of the lucky few to be working commercially with a Functional language. But I would hazard that there are very few developers out there using Frontend Functional languages — am I wrong?
A basic GitHub search throws up the number of repositories written in certain languages.:
Back-end Functional Languages
Frontend Functional Languages
[GitHub’s language detection wasn’t built for my survey and categorises ElixirScript under Elixir]
So why is this? Well one explanation is simply that languages such as Scala and Haskell have been around longer. Scala first appeared in 2004 and Haskell in 1990, whereas Elixir and Elm didn’t show their faces until 2012. Obviously this means that the backend languages have been continuously improved and polished to the point where they can be used commercially and spread throughout the industry. With this, the community has had a chance to grow, with learning opportunities becoming more and more frequent through talks, conferences and dojos.
So how do frontend Functional languages compare against one another in growth terms? I wrote (ok, forked…) an SQL query to compare the monthly question count of each of the languages as tags.
![alt text](https://cdn-images-1.medium.com/max/1400/0*OKnqExvQH73SGoOU."Logo Title Text 1")
Stack Overflow offers a function to plot the results but I decided to export them and create my own graph instead; the main reason for this is that I only saw the SO function afterwards.
![alt text](https://cdn-images-1.medium.com/max/1400/0*Q8yPq2HlxbWACQkH."Logo Title Text 1")
As the graph is plotted using ‘Questions Asked’ data, it is indicative of the interest levels surrounding a certain language. However if history repeats itself (I’ve been informed that this is often the case), this interest will cause a real upturn in the commercial application of Frontend Functional languages. If I had to bet my life savings on which of these languages will be the most popular 5 years from now, I would have to go with Elixir(Script). Just looking at the graph the growth rate of indicated interest levels is far higher than those of Clojure, Elm and PureScript, all of which still have steady but healthy growth. Furthermore, the fact that Elixir(Script) appeared in the market more recently than Clojure(Script) and is currently achieving around double the number of ‘Questions Asked’ really speaks volumes!
Want to get into these languages but don’t know how? Check out the learning resources below:
Already have experience in one or more of these and want to explore opportunities to use it commercially? Get in touch with us!
Ground Floor, Verse Building, 18 Brunswick Place, London, N1 6DZ
108 E 16th Street, New York, NY 10003
Join over 111,000 others and get access to exclusive content, job opportunities and more!