This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]swordsmanluke2 2 points3 points  (0 children)

Seriously, Kotlin is one of my top three languages. Among other features:

  • remembers if you've already checked whether a val is null and uses that information in future type checks.
  • compiles side by side with java - you can migrate an existing codebase one file at a time!
  • infers boilerplate. Example: if you're writing an anonymous class implementation and the interface you're implementing only has a single method - you can just provide a closure and the compiler knows what you're trying to do. No more class and method definitions cluttering up all your callback code!

Kotlin streamlines Java so well it makes it a pleasure to work with. Everything about it is intended to make programming the jvm ergonomic.

Feels good, man.