3 ms·
It's easier to compose functions in Kotlin. The python version you showed is more ad hoc, and is really one list comprehension. I particularly like Kotlin's sc
by esafak 2y ago
It's easier to compose functions in Kotlin. The python version you showed is more ad hoc, and is really one list comprehension.
I particularly like Kotlin's scope functions:
https://kotlinlang.org/docs/scope-functions.html https://kotlinlang.org/docs/scope-functions.html
- hughesjj 2y agoYou can do partials in python too I do prefer python over kotlin but IMHO semantically they're both beautiful and some of the least frictive languages I've ever used