4 ms·
> The fact that you have to step outside the language with @Data rather proves the point. You can trivially write a class with public fields without using lomb
by josefx 3y ago
> The fact that you have to step outside the language with @Data rather proves the point.
You can trivially write a class with public fields without using lombok, you wont get some cookie cutter logic for hashCode and equals, but often you don't need it and with mutable data you may not even want it.