Re: lambda() naming
| From: | Stanislav Malyshev | Date: | Sat, 03 Jun 2000 22:36:36 +0000 |
| Subject: | Re: lambda() naming | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20144@lists.php.net to get a copy of this message | ||
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. :)
--
Stanislav Malyshev stas@zend.com
+972-3-6139665