Hacker News new | past | comments | ask | show | jobs | submit login

I'm referring to the burden when changing languages. Swift and Rust use -> for the return type.



And C++, C#, and JS use arrow for lambdas, so there's precedent for both.


My comment had nothing to do with lambdas. The point is that Kotlin uses fun and : instead of fn/func and ->, which is a needless and tedious break with other modern languages using Pascal-style function declaration.

Using val instead of let is similarly off-putting.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: