DEV Community

Discussion on: 4 Dangerous Problems in JavaScript Easily Solved by The Builder Design Pattern

Collapse
 
rafaelramblas profile image
Rafael Ramblas

This is the exactly the pattern that i hated the most in PHP and Java, every property of your object you need a get and a set because u can't mutate then directly from the instance of the class.