Hi!

On 8/17/11 2:44 PM, Matthew Weier O'Phinney wrote:
There's nothing saying you can't have the exact same situation right now
with classes and autoloading, too.

Well, there is something - the "file per class" custom which is followed quite widely.

And also classes don't have fallbacks, while the functions do.

While I understand your objections, I think that after the functionality
exists, there can be discussions about best practices -- e.g., putting
one function per file when autoloading, or documenting when all

I'm not sure anybody would really do function-per-file - it's too tedious.

--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to