On Tue, Feb 23, 2010 at 13:07, Keryx Web <webmas...@keryx.se> wrote:
> Hello
>
> Re this page:
> http://php.net/manual/en/functions.anonymous.php
>
> Outside the world of PHP nobody seem to be using the word closure as if it
> was a synonym to anonymous function.
[...]
> I think that the PHP community perhaps calls anonymous functions closures
> because it is one word less to say and type, and we might need a single word
> term to use.

Closures (as described on that page) in PHP are actually closures.
We already have lambda functions..



> Therefore I'd suggest a rewrite of the manual page.

I think the better way to simply rename the chapter from 'anonymous
functions' to 'closures' - but then we risk people that dont know what
a closure is will never click it.
A *lot* of people that use PHP have no idea what 'closure' is, but a
'anonymous function' sounds interesting to them, hence getting them to
click it and discover closures.

-Hannes

Reply via email to