tedd wrote on 20/01/2010 16:11:
At 10:26 AM -0500 1/19/10, Bob McConnell wrote:
Some problems will fit into it, some don't.

I teach OOP thinking at the local college and haven't run into a problem that doesn't fit. For example, in my last class I had a woman who wanted to pick out a blue dress for her upcoming wedding anniversary. The class worked out the problem with a OOP solution.

Don't forget to throw an exception if another woman shows up in the same dress and color at the wedding! That would make you OOPD crash totally! ;-)

Kind regards
Kim Emax - masterminds.dk

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to