Monthly Archive: November 2013

Nov 19

Design patterns: composite

Composite pattern's diagram

While describing iterator pattern on previous post I mentioned it was a part of a bigger chapter in the Head First: Design Patterns book. The second design pattern described in the chapter is called composite. The composite pattern helps us create tree structures in our code. The book example this time is pretty straight-forward but …

Continue reading »

Permanent link to this article: