HNHacker News
TopNewBestAskShowJobs

throwawaywlabs

58 karma · joined April 23, 2019

submissionscomments
throwawaywlabs··on Why did Clojure gain so much popularity?
I work at Walmart Labs. Clojure is super popular[1] in Walmart Labs. Clojure is fun and importantly it is a very productive language to work with. This gain in productivity comes from less state, thus easy to debug and fix, and functional approach, so the functions do what exactly what they are supposed to and there are no hidden surprises.

Less state or immutability means concurrency is easy. Easy concurrency means we can scale[2] applications with ease. I mean ease of development. It takes less work, less mental effort to take something that works for a single thread and make it work in a multithreaded and/or distributed manner over hundreds of thousands of cores. Debugging is easy too. P1 incidents for a microservices written in Clojure takes less time to debug compared to those written in other languages. So no wonder most of our mission critical services are written in Clojure.

For a complex environment where thousands of microservices are deployed on hundreds of thousands of computes, Clojure has been super successful.[3]

[1]: https://github.com/walmartlabs?language=clojure

[2]: http://blog.cognitect.com/blog/2015/6/30/walmart-runs-clojur...

[3]: https://clojure.org/community/success_stories