Re: [PEPr] Comment on Images::Image_Canvas

From: Date: Thu, 21 Jul 2005 12:28:55 +0000
Subject: Re: [PEPr] Comment on Images::Image_Canvas
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38818@lists.php.net to get a copy of this message
Tobias Schlitt wrote:
So again I think for consistency: the one or the other (whenever possible)
Me personally would prefer the array stuff, since it's much easier to remember 'filledColor' and 'lineColor' instead of remembering that 'filledColor' is the 5th and 'lineColor' the 6th parameter (or was it the other way around?).
Then again, for those of us who are using a real IDE instead of just a vanilla text editor, the array stuff means more typing while not offering any advantage - I'm quite used to having tooltips for the function parameters, telling me the name, type and, if available, the inline docs for the parameter that I'm about to enter. That would not be possible using a single array as the parameter. CU Markus

« previous php.pear.dev (#38818) next »