Re: consistent way to handle structs

From: Date: Fri, 11 Jan 2002 12:21:17 +0000
Subject: Re: consistent way to handle structs
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76632@lists.php.net to get a copy of this message
On Fri, 11 Jan 2002, Markus Fischer wrote: > 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. function ($a, $b, $c); has the same problem :) Derick

« previous php.dev (#76632) next »