Tag: composite

Composite Design Patterns

Composite Design Pattern with Java

Composing objects without a pattern can make code really messy – code repetition happens a lot and maintenance is terrible. Fortunately, there is the Composite design pattern that solves this problem completely. Using the Composite pattern we...