Why would this pollute less? It would still pollute the namespace.

> -----Original Message-----
> From: Lukas Kahwe Smith [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 19, 2007 3:08 PM
> To: Stas Malyshev
> Cc: Andi Gutmans; Robert Cummings; Wez Furlong; Sean Coates; 
> internals@lists.php.net
> Subject: Re: [PHP-DEV] PATCH: anonymous functions in PHP
> 
> Stanislav Malyshev wrote:
> 
> >> Thoughts?
> > 
> > This might work, still not sure if we really want that in 
> PHP. On one 
> > side, it's cool, on other side closures can develop into a 
> very messy 
> > code :)
> 
> Yeah well .. for the single task of callbacks they are great 
> and prevent a lot of messiness .. I think its messy to 
> pollute the namespace for something which is not intended for 
> reuse .. maybe we need to artificially limit its uses just 
> like for "goto".
> 
> regards,
> Lukas
> 

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

Reply via email to