4 ms·
Easy: @EqualsAndHashCode
by awild 5y ago
Easy: @EqualsAndHashCode
- lmilcin 5y agoIt 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.
- ragnese 5y agoAlso 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?).
- jhgb 5y agoAs a Lisp programmer, I feel personally attacked by that.
- js8 5y agoAt least Java doesn't have those pesky macros! /s
- dtech 5y agoI'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.
- ragnese 5y agoThe difference is that Lisp isn't a programming language- it's a programming language language. ;)
- wolfi1 5y agoI thought Lisp stands for "Lots of Irritating Single Parentheses" ;)
- awild 5y ago"... 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.
- deleted 5y ago[deleted]