ARCHIVE April, 2010

Static methods are evil (full version)

May 13, 2010

Some months ago I tweeted that static methods are evil to which a colleague of mine who happens to be a flash developer responded “for silly PHP developers”. To be clear I’m not saying that static functions and static variables shouldn’t be used; quite frankly they’re in a lot of languages for a reason.
One reason why I call caution [...]