3 ms·
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 (funktion
by mike_hearn 11y ago
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.
- dragonwriter 11y agoRight, 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.