Re: Re: PATCH: anonymous functions in PHP
| From: | Marcus Boerger | Date: | Thu, 20 Dec 2007 10:25:36 +0000 |
| Subject: | Re: Re: PATCH: anonymous functions in PHP | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34126@lists.php.net to get a copy of this message | ||
Hello Stanislav,
and you did it again :-) Not working? What the hell are you talking of?
We can easily make it working with whatever feature set we want. We do not
support any feature ever thought of for everything in PHP. For instance
our object model has no abstract with default body, no MI, no delegates, no
overloading....
Back to functions. Given the long discussion about handling the non easy
stuff I think we should go with the usual PHP approach here, "Keep It Simple
Safe". As in keep everything that has to be discussed to death out. Why?
Because it allows nice stuff and has often be requested.
marcus
Wednesday, December 19, 2007, 11:21:20 PM, you wrote:
>> So how big a part of PHP's userbase is that? I'm guessing, it's small.
> If it's small, we don't need it in the language anyway.
>> True, but the people who will anguish over lack of closures, are
>> already tearing their hair out over create_function().
> Having no function and knowing it is better than having something that
> looks like it but doesn't work. Saves time that would be spent
> unsuccessfully trying to make it work.
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
Best regards,
Marcus