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

Getters and setters definitely fall into "copy/paste + macro" territory for me. Just copy/paste your field list and run a macro that turns each field into a getter and setter. Or use an IDE shortcut. Lombok obviates all this anyway of course.


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

Search: