DEV Community

Discussion on: When Builder is anti-pattern

 
siy profile image
Sergiy Yevtushenko

20 DB columns not always correspond directly to 20 fields in POJO.

And yes, I understand that this is about readability. I just think that price is too high. There is a solution which does not as error-prone as Builder, but it involves even more boilerplate code than Builder and there is no ready to use code generator.