It's not Java what makes Java platform one of the most popular but rather JVM. That's why Clojure grows in popularity. Because it brings the expressiveness.
Please show me how Clojure is growing in popularity. Clojure has never been more than a niche language.
Re:A Taste of Haskell
by diminishedprime on Tuesday October 25, 2016 @07:41AM
(#12787033)
well for one, it's being used in the industry quite a lot. Citi, Walmart, Amazon, CapitalOne, Facebook, and Spotify are just some of the names from this list.
A language can grow in popularity while still remaining a niche language. Haskell is a very good example of that, but I really can't say the same thing about Clojure.
> and lots of companies use it
Curious, who uses ocaml other than FB and Jane Street?
For example most don't know that Java actually does have macro like capabilities through APT (annotation processor that will work automagically I might add). Some might say ewww its not macros but then again annotation processing might just be 80/20 good enough (aka what OCaml learned with ppx vs camlp) and that Java now sort of has traits and that its code swapping is actually fairly good (jrebel). There are even sadly people that don't know Java has lambdas, and even some (usually C++ dudes) that don't know it has generics. Most don't even know that you can combine interfaces with generic types as in: `<T extends Comparable & Serializable> void someFunc(T t)`.
Yes Java is not Rust, Haskell or even OCaml in expressiveness but it certainly is more powerful than Golang and definitely compiles fast (albeit starts up slow).
That being said OCaml is still my favorite. Compiles fast and easier for me to understand. Super mature and lots of companies use it.