4 ms·
> 80% boilerplate is a large exaggeration. If you restrict yourself fully to the standard library it's still not that largly exaggerated, even with Java 8. >
by catdog 7y ago
> 80% boilerplate is a large exaggeration.
If you restrict yourself fully to the standard library it's still not that largly exaggerated, even with Java 8.
> The compiler has a well-defined custom processing interface (@annotations) which allows for powerful boilerplate-reducing things, from Lombok to Spring to JUnit.
If you add Lombok + sth. like guava or apache-commons and in general choose modern libraries/frameworks it's really OK now. The only downside of Lombok is that it really maxes out what compiler(s) allow you to do which is not always without issues and it requires an IDE plugin to be installed.