Design patterns: Iterator and Strategy
Was looking at the “strategy” and “iterator” patterns today. They are both operational/behavioral patterns, which makes them different from the creational patterns like the Factory Method, for instance. What’s interesting is that they might not be that different when it comes to the implementation. It’s the usage which makes them different. Strategy pattern is about… Read More »