Re: classes v. functions

From: Date: Wed, 23 Jul 2003 20:30:55 +0000
Subject: Re: classes v. functions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-156532@lists.php.net to get a copy of this message
Hi, am Wednesday 23 July 2003 11:48 schrieb Joel Rees: > (You know that $accesses->count and $accesses->resetCounter() are at > least declared in the same class declaration. $accesses_count and > accesses_resetCounter() could be declared in entirely unrelated include > files for entirely different purposes.) That is the only benefit. But it's not OOP. If you need namespaces and can't take care of them w/o misuse of a semi-OOP construct youre not any more efficient with it. >> Is there any performance benefit one way or the other? > > Programmer performance? > >> I used EZ_Sql which is cool but didn't seem to speed things up in >> comparison to the said include file. >> Still don't see the beef. > > Execution speed isn't all that matters. In fact, speed is not the point > at all. Then you must be an PHPNuke or Typo3-programmer, beeing lucky to get at least 1 request per second ;). Don't take it hard, but If you had ever been in computer-science [school|college|...] you would know that speed is all that matters. bg Sam

« previous php.general (#156532) next »