Builder Pattern Explained Simply

The Builder pattern is useful for creating complex objects that need step-by-step assembly. Or put more specifically, when a constructor just doesn’t do the trick anymore… Builders are incredibly common and you are already using them. For instance: Builders “chain together” methods and allow you to append method one after…

read more

Factory Pattern Explained Simply

Creational patterns abstract the instantiation process, because sometimes using new is just not cool enough. This is because instantiation can often times lead to coupling problems. Coupling problems are not cool. When you see “new”, think “concrete”. – Head First Java While this is a play on words, it is…

read more