Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How Java 10 Will Change the Way You Code (takipi.com)
5 points by petercooper on March 20, 2018 | hide | past | favorite | 3 comments


Why'd they ignore the top survey result, var AND val? It was by far the most popular choice, and it saves you from writing final over and over again, which would hopefully help to encourage better code style/practice for Java developers.


Because final on local variables is pretty much useless and var and val looks too similar.


That's what I'm wondering.




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

Search: