Re: Static variable in a class method
| From: | Richard Lynch | Date: | Thu, 14 Feb 2008 23:03:26 +0000 |
| Subject: | Re: Static variable in a class method | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269340@lists.php.net to get a copy of this message | ||
On Thu, February 14, 2008 4:28 pm, Stut wrote:
> Richard Lynch wrote:
>> If a website is complicated enough to need a class hierarchy, then
>> something is wrong in your Design. :-) :-) :-)
>
> I don't think anything ever *needs* a class heirarchy, but I wouldn't
> say using one indicates a design flaw.
>
> Classes themselves are an invaluable tool for creating a logical
> modular
> system with reusable components, and IMHO not using them indicates an
> engineer stuck in the dark ages of software development.
>
> But each to their own.
I used classes in Lisp a whole whole whole lot building AI research
applications, so I don't think I qualify as stuck in the dark ages...
:-)
Perhaps it's just that I don't like to work on websites
big/complicated enough to need giant class hierarchies...
Or that I would rather simplify such a site to the point where it
doesn't need said large hierarchy...
Or that anything that's supposed to spit out a web page in a
splintered second shouldn't be that complicated to start with...
Or...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?