Comment by javcasas
5 years ago
Every time that I see a builder pattern, I see a failure in adopting modern programming languages. Use named parameters, for f*cks sake!
const frobnitz = new Frobnitz({pixieDust: true, mayonnaise: true, target: worstTweetEver});
No comments yet
Contribute on Hacker News ↗