5 ms·
Clojure is very different from Java, so there are definitely cases you might prefer Java over Clojure. Scala also is a different beast (the one I prefer perso
by eloisant 7y ago
Clojure is very different from Java, so there are definitely cases you might prefer Java over Clojure.
Scala also is a different beast (the one I prefer personally). I can understand people not choosing Scala if they're not into FP and are afraid to be unable to recruit Scala developers.
But Kotlin being some sort of "improved Java", the philosophy stays the same, Java developers can seamlessly switch to Kotlin... The benefit of picking Java over Kotlin is pretty slim.
- fulafel 7y agoSure. But it's the same thing as in the JS platform, it's good to be aware that you don't just have a choice between JS and eg TypeScript, but a choice between all the JS platform languages that seem attractive.
- iLemming 7y ago> you might prefer Java over Clojure There are good, explainable reasons why people hate Java and Javascript. Fundamentally, one can argue that they are very nice and solid languages and all those complains aren't warranted. On the other hand if you look at them differently and treat them as low-level, sorta "assembly" languages for their respective platforms, then probably you would find out that Clojure is an amazing tool, because it can perfectly be hosted on both of them. And given all the good design decisions that went into Clojure, one might argue that it's almost always better to choose Clojure instead of Java.