Re: whitespaces again
| From: | Derick Rethans | Date: | Fri, 29 Oct 2004 13:21:20 +0000 |
| Subject: | Re: whitespaces again | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364732@lists.php.net to get a copy of this message | ||
On Fri, 29 Oct 2004, Gabor Hojtsy wrote:
> >>>>http://cvs.php.net/phpdoc/scripts/revcheck.php
> >>>>
> >>>>Latest commit of revcheck.php:
> >>>>revert to tabulations instead of spaces
> >>>
> >>>That file is a script and isn't part of the doumentation :)
> >>>
> >>>We usally use tabs for scripts, but thats up with the author(s).
> >
> > GH> Our guidelines say that we use PEAR standards in the scripts too. Just to
> > GH> make life simpler. Livedocs is the exception actually, but other scripts
> > GH> are mostly done with spaces. Derick is always advocating tabs...
> >
> > After the latest post in this ML: [PHP-DOC] Small patch for revcheck.php
> > Maybe somebody with admin privileges should rollback commit, so
> > we can start to work on this script? Or better leave the tabs for fun? =)
>
> *I* think it is better to keep 4 spaces, since that is in the PEAR
> standard. BTW this is suggested because people (can) have different tab
> length settings.
That's a bullshit argument Goba, it should NEVER matter what people's
tab lengths are as the code should look the same anyway. Use tabs for
initial indentation.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org