Posted: Fri Aug 19, 2005 3:14 pm
Well I suspect that aspect is getting into personal preference. But I detest collections of static methods. There are a few times when its appropriate, but generally its a code stench.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$tz = timezone_open('Asia/Singapore');
echo $timezone_name_get($tz);Code: Select all
$tz = timezone_open('CEST');
echo $tz->getName();I suppose anyone who doesn't like it could switch to jsp where you dont have much of a choice.feyd wrote:annoying yes, but allows people who do not understand/like/whatever OOP, the ability to perform the actions. Granted, I find it a bit lazy, but that's me.