Re: lambda() naming
| From: | Paul DuBois | Date: | Sun, 04 Jun 2000 01:24:27 +0000 |
| Subject: | Re: lambda() naming | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20151@lists.php.net to get a copy of this message | ||
At 1:36 AM +0300 2000-06-04, Stanislav Malyshev wrote:
AG>> I prefer not having aliases and I definitely prefer having a more PHP'ish AG>> name such as anonymous_function() or create_function() than a name such as AG>> lambda() which is only intuitive to a very small subset of PHP users. In fact, I don't believe in such thing as "intuitive function name". That's almost as "intuitive machine code". Function name is an axiom, you look it on the manual and learn it. You will do it anyway to know arguments, BTW :) And lambda is much shorter to type than anonymous_function. :)This is an argument that all words are equally meaningful, which is false. lambda() is about as intuitively meaningful as cdr(), i.e., not at all. :-) -- Paul DuBois, paul@snake.net