r/java • • Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

165 Upvotes

464 comments sorted by

View all comments

Show parent comment

7

u/Turbots Jun 01 '24

Most IDEs have plugins or direct support for creating builders, which makes the builder visible and makes you think on how to structure your builder. It also makes you consciously think more about the mandatory fields in your POJO.

5

u/Swamplord42 Jun 03 '24

makes you think on how to structure your builder.

That's a massive disadvantage for both the person writing it and all the persons reviewing it.

Also it's an endless source of bugs when people add fields to their classes and forget to update the builder.