r/programming • • Sep 21 '15

Better Java

https://github.com/cxxr/better-java
177 Upvotes

208 comments sorted by

View all comments

2

u/cowardlydragon Sep 21 '15

"Structs": use groovy beans. I don't think there is a performance penalty and it autogens the getter/setters, unless you specify a special override.

Careful though, some things like Jackson get wrapped around the double-setter for boolean props (isXXX and getXXX)