Re:Why I'm Productive in Clojure (2013)
by cutler on Sunday October 22, 2017 @12:33PM
(#15527567)
If semantic similarity to Java and translatability to Java libraries are your main criteria surely Kotlin is a much better option than Scala? Kotlin is also much easier to learn than Scala.
[ Parent
| on HN ]
Re:Why I'm Productive in Clojure (2013)
by saosebastiao on Sunday October 22, 2017 @12:47PM
(#15527655)
Indeed, if you merely want a better java, Kotlin is now the better choice (especially considering the superior tooling). But the limitation is that Kotlin tops out as a better java.
With Scala you can start out in better java territory and go from there to wherever you want. I personally don’t use any of the pure functional libraries, but I still greatly benefit from the strongly and strictly typed but flexible type system. In the 50k+ lines on my most recent project, I can count the number of bugs that escaped the type checker with one hand.