Once everything is set up, calculating the recognitions requires no knowledge of the strategy subclass. The OO habit of successive forwarding from object to object moves the behavior to the object most qualified to handle it, but it also resolves much of the conditional behavior. You'll notice that there are no conditionals in this calculation.
I got this idea/thought/activity from Sticky Crows. He's also expanding my vocabulary as I didn't know what the definition of the word meme.
If I was a really good student I would write down the definition and then write three sentences using the word. Boy that brings back some school memories!
This activity is an example of a meme.

2 comments:
What kind of book is THAT??? Knowing you, I was hoping for something a little more juicy. ;-)
Mark
Mark,
The book is a technical book, "Patterns of Enterprise Application Architecture Architecture" by Martin Fowler. I didn't understand what that passage was saying! Of course I hadn't read it yet.
Bugsy
Post a Comment