Re: Re: Named arguments revisited

From: Date: Wed, 18 Jan 2006 02:08:46 +0000
Subject: Re: Re: Named arguments revisited
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-21563@lists.php.net to get a copy of this message
On 1/15/06, Zeev Suraski <zeev@zend.com> wrote: > In those rare occurrences where named parameters have true benefits, > please live with the drawbacks of using array(). I do, though code completion, type hinting, etc. would be nice. It would nice if it was consistenly added so that built-in functions had that behavior, since no one can use the array hack for those. But lots of things would be nice, so I don't really care. Seems like too much work for the benefit. And there are downsides not even mentioned in this thread (parameter names are now seen (which is obvious, until you really think about it), they gain longevity, language issues, etc.). Not to mention, we might be tempted to go back and rewrite stuff and that would not be an effecient use of our time. But "rare occurrences"? That was pretty funny! Sadly...

« previous php.internals (#21563) next »