I’m not necessarily looking for more JS-like thing...
# getting-started
n
I’m not necessarily looking for more JS-like things 😛 but certainly appreciate having some similarities in syntax (i,e, C-style blocks and arrow functions and that sort of thing), but the key things that drew me to kotlin were things like if statements being implicit do-expressions (So I can do
val something = if (1 < 10) “awesome!” else “bummer…”
and pattern matching and pattern matching with predicates even!), many of the amazing syntax sugar features like
it
and
is
and
in
and so many nice little things that just make so much sense
🎉 2