Re: PATCH: anonymous functions in PHP
| From: | Michael Walter | Date: | Thu, 22 Mar 2007 11:36:14 +0000 |
| Subject: | Re: PATCH: anonymous functions in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28545@lists.php.net to get a copy of this message | ||
Hi,
On 3/21/07, Richard Lynch <ceo@l-i-e.com> wrote:
I think solving the common need for 99% of the people with a nice simple clean anonymous function is PHP way.Right. But then those people add 2 + 2 and get frustrated because they can't do the obvious ;)
If somebody has a real-life demonstrated NEED for the closures/scoping, by all means, bring it up.Plain old google brought up: http://groovy.codehaus.org/Martin+Fowler's+closure+examples+in+Groovy among other hits (Groovy syntax should be easy enough to follow). Regards, Michael