DEV Community

Discussion on: When Builder is anti-pattern

Collapse
 
conectionist profile image
conectionist

"There is no way to tell at compile time if all necessary fields are set." - I completely agree. I've also noticed this a long time ago. This is exactly why builder is my "favourite" (anti)pattern.