Re: consistent way to handle structs
| From: | Markus Fischer | Date: | Fri, 11 Jan 2002 12:27:17 +0000 |
| Subject: | Re: consistent way to handle structs | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76630@lists.php.net to get a copy of this message | ||
On Fri, Jan 11, 2002 at 01:33:25PM +0100, 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!
> Then again, that probably means that fn() is badly designed...
I agree on that. You really don't know which parameters it
was anymore.
You don't have this problem with hashes.
But I already see this thread won't get us anywhere :)
--
Please always Cc to me when replying to me on the lists.