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

It's still just too much boilerplate to define and use immutable types. Named parameters would help a lot. Something like Scala's case classes would help even more, and along with them, some kind of pattern matching.


Take a look at Project Lombok: http://projectlombok.org/

A bit hacky, but it works.




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

Search: