Agile & Lean Software Development Management

deep thoughts on doing real work

Browsing Posts published in April, 2009

The Flyweight pattern is intended to use sharing to support large numbers of fine-grained objects more efficiently and reduce resource usage. The Flyweight pattern is especially useful when there is a need of many, many similar objects. When I hear flyweight, I instantly think about characters in words, sentences, and stories. If a character is [...]

The iterator pattern provides a client with a way to access the elements of an aggregate object sequentially without having to know the underlying representation. The iterator is especially useful because it provides the client with a common interface so it doesn’t need to know anything about the underlying data structure. If you want to [...]