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

Easy: @EqualsAndHashCode



Also read as: "This language is so poor at expressing common abstractions that we need to litter our code with not-code so that a compile-time code generation tool can make it tolerable."

Though, to be fair, Java finally has records (or will?).


As a Lisp programmer, I feel personally attacked by that.


At least Java doesn't have those pesky macros! /s


I've heard more than one Java programmer dismiss macro based compile-time meta-programming as way to complicated while happily littering codebases with annotation and classpath based runtime meta-programming.


The difference is that Lisp isn't a programming language- it's a programming language language. ;)


I thought Lisp stands for "Lots of Irritating Single Parentheses" ;)


"... Making this language actually quite pleasant to use due to its gigantic ecosystem." but I see your point. Lombok is really just a collection of bandaids and some cool stuff and @SneakyThrows as mandatory footgun.


It might be a good start in most cases but it is not foolproof in every case.

A foolproof automated method would have to read your mind and Lombok can't do that.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: