1) the syntax with types/lambdas could not possibl...
# getting-started
v
1) the syntax with types/lambdas could not possibly be much better, every other language has some sort of ugly in that place. I believe your assumption is that a piece of syntax (like
->
) should be used in one place only. It is true in some older languages (Pascal, C), but not in Kotlin. On the contrary the designers tried to pack as many features as possible using as little different syntax as possible. That way kotlin is more flexible for adding new syntax in the future (in 5 years, per say)