Re: Re: Space between funcname & arglist (was: Re: [PHP-DOC] cvs: phpdoc /en/functions strings.xml)

From: Date: Thu, 09 Aug 2001 20:06:55 +0000
Subject: Re: Re: Space between funcname & arglist (was: Re: [PHP-DOC] cvs: phpdoc /en/functions strings.xml)
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969336969@lists.php.net to get a copy of this message
Egon: > I would see a space. The formatted function prototypes have already a > space between function name and opening parenthesis. With the space the > code is more readable. The first can be changed, though I can come into your second point: better readable. In the case of a prototype, I must agree that it is better readable with a space. However, in code I prefer the PEAR-way. Since I prototype is such a different thing than a real-life function call, I think it doesn't matter too much that it isn't the 'right' way. Different point, in prototypes I sometimes see the proto: <return_type> function(void). Why not simply <return_type> function(). That looks way more logical to me, also keeping in mind that void is really a keyword that has no meaning in PHP, and PHP-programmers won't (need to) know it (unless they know it from some other language) Greetz, Jeroen

« previous php.doc (#969336969) next »