RE: [PHP-DEV] consistent way to handle structs
| From: | derick@php.net | Date: | Fri, 11 Jan 2002 12:20:27 +0000 |
| Subject: | RE: [PHP-DEV] consistent way to handle structs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76631@lists.php.net to get a copy of this message | ||
On Fri, 11 Jan 2002, Marc Boeren wrote:
>
> > make much sense to me. The current way suits fine, but maybe
> > this should be allowed too (as Hartmut wrote): function (foo,,bar);
>
> Please don't!
> I cannot read code that looks like fn(,,,,foo,,,,bar);, that is just a
> parameter-guessing-game!
Of course, that looks likes crap, but one parameter not specified is not
a problem IMO.
> Then again, that probably means that fn() is badly designed...
Indeed, there are a few functions (you can count them on two hands) will
need this at all.
Derick