Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just for comparison’s sake, java is not significantly more verbose.

  final var teens = people.stream().filter(p -> p.age < 20).map(People::name).toList()


Keep in mind, you can use Kotlin in any JDK8 project and instantly get all those features. What you're proposing requires upgrading to a new JDK.


Upgrading to a new JDK is significantly less work than upgrading all your tools to support a new language.


JDK 8 came out in 2014 - Internet Explorer was still widespread at the time.




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

Search: