Tag: design-patterns

Latest Posts
Factory Method: Stop Scattering new Across Your Business Logic

Design Patterns Series #3 – Creational Patterns The feature request seemed simple: “We’re adding drone delivery next quarter.” You opened the order processing class, found…

Builder Pattern: Stop Counting Commas

How many parameters is too many? Four? Six? There’s a constructor somewhere in every codebase that crossed the line, the one where you have to count commas to figure out which argument goes where, and where passing null for “optional” fields became completely normal.