sure, but I'm arguing that this is a worse way. Sy...
# random
k
sure, but I'm arguing that this is a worse way. Syntactic sugar like what Kotlin provides just muddles the things that beginners should be focusing on; basic logic, algorithms, data structures, etc. If you have
.filter
,
.map
,
.groupBy
, etc, all available to you, you don't really understand what's going on underneath. And the lambda syntax is elegant, but the underpinnings of what's going on in a
sortBy
, for example, should be made obvious to a beginner