Re:Kotlin: A New Hope in a Java 6 Wasteland
by mike_hearn on Monday September 28, 2015 @06:23PM
(#10293604)
Consider that whilst Kotlin does not support things like function currying and partial application out of the box, they can both be added by a library (funktionale). Kotlin has a focus on DSLs defined in libraries and has a few language features that are intended to make them work better, in this sense, Kotlin and Scala are similar.
Re:Kotlin: A New Hope in a Java 6 Wasteland
by dragonwriter on Monday September 28, 2015 @07:00PM
(#10293751)
Right, but by comparison Scala goes further than Kotlin on this. Consider the case of operators, for instance: Kotlin, like many languages, lets you redefined a predefined set of operators for new types with predefined precedence, Scala lets you create entirely new operators.
To some, this is a strength for Scala -- to others, it is a weakness.
One thing with Scala is that various features of the language allow libraries to reshape the "feel" of the language, because a number of things that would be fixed in the language in many other languages can be modified by libraries in Scala.