Hacker News new | ask | show | jobs
by bartekpacia 501 days ago
> Kotlin’s syntax is also weird/quirky in some ways.

I'm curious to learn what you mean by this! :)

1 comments

No terenary if and the elvis operator, for one. Stuff like that trips me up frequently when jumping between Kotlin and Swift/other C-likes.
Ah, I see. Tbh, I actually like the lack of ternary and elvis, they are nicely handled by if expression (as the other comment notes)