Re: What's wrong the __autoload()?

From: Date: Thu, 13 Mar 2008 23:07:36 +0000
Subject: Re: What's wrong the __autoload()?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-271548@lists.php.net to get a copy of this message
Oh, I get it. Thank you! On Wednesday 12 March 2008 15:26:01 Richard Heyes wrote: > > I'm wondering what's wrong with the use of __autoload(), since I see that > > projects like the Zend Framework don't use it and prefer to require_once > > each required file. > > Things that happen without you explicitly causing them (ie require() et > al) can lead to confusion. > > For example a junior developer who doesn't know of its existence and is > new to a job is less likely to admit ignorance and ask how a class is > being defined when __autoload() is being used. -- Gustavo Narea. http://gustavonarea.net/ Get rid of unethical constraints! - Switch to Freedomware: http://softwareliberty.com/ - Reclaim your culture: http://lifesnotreadonly.net/

« previous php.general (#271548) next »