Re: Frameworks / obstinate?
| From: | Michael A. Peters | Date: | Tue, 24 Mar 2009 00:41:06 +0000 |
| Subject: | Re: Frameworks / obstinate? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290626@lists.php.net to get a copy of this message | ||
Bob McConnell wrote:
However, don't limit it to classes. There are enough non-OO people that collections of usable function libraries should also be worth assembling. I would also suggest including unit test fixtures and utilities in any collection. Bob McConnellMost functions can be wrapped in a class and probably should be for public distribution as it avoids function name clashes (though you still have class name clashes to worry about ...) If as a programmer you find a particular function nifty but don't care for the class, you can always rip it out of the class for your own use.