Re: lambda() naming

From: Date: Sat, 03 Jun 2000 22:57:55 +0000
Subject: Re: lambda() naming
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20147@lists.php.net to get a copy of this message
On Sun, 4 Jun 2000, 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". That analogy is broken. Coding in 3GL languages is much more efficient and less error-prone, because it enables programmers to use descriptive identifiers (that is not the only reason, but one of the most important). "Intuitive function name" in this context does not mean that you do not need a manual to understand a function in detail. It refers to a descriptive and possibly verbose function name. - Sascha

« previous php.dev (#20147) next »