Re: On closures and lamdba
| From: | Keryx Web | Date: | Sun, 21 Feb 2010 10:48:31 +0000 |
| Subject: | Re: On closures and lamdba | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47011@lists.php.net to get a copy of this message | ||
2010-02-21 03:55, Joey Smith skrev:
There's a pretty big difference between how PHP implements closures and how JavaScript implements themI have seen that, but my question is about language, not implementation. FWIW, taking my educator perspective, PHP's way of explicitly pointing out what variables are part of the closure is very easy to explain. The way you are using the word "closure" in your reply is consistent with the way I'd like to see it used, though. -- Keryx Web (Lars Gunther) http://keryx.se/ http://twitter.com/itpastorn/ http://itpastorn.blogspot.com/