Re: Object Oriented Programming question
| From: | Kim Madsen | Date: | Wed, 20 Jan 2010 15:56:02 +0000 |
| Subject: | Re: Object Oriented Programming question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301267@lists.php.net to get a copy of this message | ||
tedd wrote on 20/01/2010 16:11:
At 10:26 AM -0500 1/19/10, Bob McConnell wrote: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.dkSome 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.