Re: PATCH: anonymous functions in PHP
| From: | Lukas Kahwe Smith | Date: | Mon, 19 Mar 2007 22:08:20 +0000 |
| Subject: | Re: PATCH: anonymous functions in PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28462@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
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, LukasThoughts?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 :)