Hacker News new | past | comments | ask | show | jobs | submit login

Project Lombok is your friend then: http://projectlombok.org/features/Data.html



Until you have to debug it. At which point you realise you're now writing what's effectively a different language with its own tooling and compilation (and its own bugs), and if you were going to do that then you might as well go all the way to Scala where you get much more in return.


Lombok is an anti-pattern for me. It creates a unholy mess of annotations for what should be language features.




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

Search: