Design Patterns

I have been working my way through Head First Design Patterns.  I was reading about the State pattern, and mulling that it adds significant complexity and coupling for small-scale systems.  Later, I listened to a podcast on Model Driven Software Development over on se-radio.  To illustrate their talk, they chose an implementation of a state machine as their example.  How cool that just by saying “State pattern”, I had an instant mental picture of what they were doing.  I got a chuckle when they discussed a simpler alternative:  the “Big Switch statement”.


Post a Comment

Required fields are marked *

%d bloggers like this: