2 ms·
Kotlin also compiles to JS and has typesafe Groovy-style builders. I don't like the union and intersection types, and think Kotlin being "a syntax skin over the
by pron 13y ago
Kotlin also compiles to JS and has typesafe Groovy-style builders. I don't like the union and intersection types, and think Kotlin being "a syntax skin over the Java platform" is its main advantage.
Thing is, neither Kotlin nor Ceylon (nor Scala, IMO) add something fundamentally necessary over what's available in Java (8). They mostly provide productivity enhancements. For me, added productivity is really nice, but it doesn't justify switching a language, unless it's a 10x productivity boost (Clojure is different; it provides a whole new way of thinking and managing state and data, which is very important for concurrency - this is big). So in that case, I'd rather give Java a facelift than change to something else altogether. Kotlin is just a Java facelift. It's trivial and transparent to mix Kotlin and Java classes, even in the same package.
- RivieraKid 13y agoProductivity and how fun is it to use a language are about the only metrics that I care about. Even small productivity increase can be a reason to switch language. I don't understand the Clojure bit - do you mean STM?
- pron 13y agoWell, I'm used to developing multi-MLOC projects in large teams; they don't switch a language so easily... As for Clojure, I mean this: http://www.infoq.com/presentations/Value-Identity-State-Rich-Hickey http://www.infoq.com/presentations/Value-Identity-State-Rich... (basically: immutability, controlled state transitions via agents/atomic/STM)
- pjmlp 13y agoMy metrics are the technology stack the customer requested and if the application/library does what was requested.