Re: SplClassLoader RFC Voting phase
| From: | guilhermeblanco@gmail.com | Date: | Tue, 08 Nov 2011 17:28:38 +0000 |
| Subject: | Re: SplClassLoader RFC Voting phase | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56168@lists.php.net to get a copy of this message | ||
Hi Nikita,
Because there's no need to bring to C a single foreach.
Also, if you re-read the RFC, you'll see that SplClassLoader is
extendable for personalized developer needs, such as an addAll or an
APC lookup.
Cheers,
On Tue, Nov 8, 2011 at 3:25 PM, Nikita Popov <nikita.ppv@googlemail.com> wrote:
> On Tue, Nov 8, 2011 at 6:17 PM, guilhermeblanco@gmail.com
> <guilhermeblanco@gmail.com> wrote:
>> Remove is useless. conditionally add loaders and you're done.
>> AddAll is ok for user land, but we focus on basic stuff, not fluffy
>> implementations. It can be easily done in userland.
> ... Just like the whole rest of the class: all of it can be done in
> userland with a few lines of code. So why do you stop at addAll?
>
> Nikita
>
--
Guilherme Blanco
Mobile: +55 (11) 8118-4422
MSN: guilhermeblanco@hotmail.com
São Paulo - SP/Brazil