by WJW · 5y ago · 0 comments
To me, Clojure is very much on the same level as Haskell: an extremely niche programming language with a small (sub-1% in TIOBE) but dedicated following that is unlikely to grow much beyond what it already is.
Rest of the article: meh. It presupposes a lot of what it thinks Haskell should aspire to without investigating whether those things are actually what it is aspiring to be.
I beg to differ. I think it's the other way around. I rarely see Clojure folk bashing on Haskell - they usually admit Haskell's strong points or any other language. They very often borrow ideas from other languages, libraries, and tools. I've heard they are figuring out interop with Python and R. They've built Clojure-like Lisp dialects that work on Golang, Erlang, compile to Lua, etc.
Haskellites, however, get sad and defensive anytime someone mentions that it's not so widely used in the real world.
https://redmonk.com/sogrady/2020/02/28/language-rankings-1-2... https://www.tiobe.com/tiobe-index/ https://insights.stackoverflow.com/survey/2020
Obviously this is far from scientific, but Clojure being a new, hyped language, it wouldn’t surprise me if that skewed people’s perception of how much it was used in production code.
I'm not sure how you read real-world utility from looking at graphs of SO and GitHub. It's like claiming that garbage trucks have no real-world utility because they are vastly less popular than cars.
Clojure is hovering around the same space as Rust, and beating WASM and Cuda. All of these languages occupy a useful niche, and a more-than-cursory search will reveal a lot of companies deploying them where they can play to their respective strengths.
Clojure gathers more conferences and meetups, has more active podcasts, books, jobs, etc. Many companies are using Clojure in production: Apple, Walmart Labs, Cisco, Pandora, CircleCI, Roamresearch, Grammarly, Pitch - are just a few that come to mind. And they're not using it for the small stuff; for example, Cisco has built its entire security platform with it.
Clojure is the third most popular JVM lang. To be fair though, this is mainly due to Kotlin taking over Scala. Also, Clojure probably is the second most popular lisp dialect on GitHub (after Emacs-lisp).
So I think the claim is correct. At least within the FP world - Clojure currently dominates over Haskell, OCaml, F#, Scala, Elixir, Erlang, etc.
If we wanted to treat it as an argument, we'd have to nail down the parameters for what "taking the world by storm" means objectively, or the author would have to clarify what they meant subjectively.
- more active podcasts:
- more conferences:
https://purelyfunctional.tv/functional-programming-conferenc...
- more books:
https://www.amazon.com/s?k=Clojure
- more companies:
https://clojure.org/community/companies
- more jobs:
https://www.google.com/search?q=functional+programming+jobs
I've maintained an active interest in FP languages over the past several years. I'm not arguing here about the merits of choosing Haskell over Clojure, etc., or about other blogpost opinions (I'm afraid I have to disagree with many of them). I'm merely sharing what I know about the current state of FP in the industry.