Re: whitespaces again
| From: | Philip Olson | Date: | Fri, 29 Oct 2004 17:49:41 +0000 |
| Subject: | Re: whitespaces again | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969364742@lists.php.net to get a copy of this message | ||
>
> >>>>>>>>>>>>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, your view is nothing new to me, as I pointed out above in this
> same thread. I dislike people using tabs, because they tend to mix them
> with spaces, and not see on the screen that they are not doing the right
> indentation. As I have said, this is my personal view, and I admit it
> might be bullshit. Since I am not doing active delopment on the source
> codes in phpdoc, I am not against using tabs, but it is not my personal
> preference. The usage should be documented in the howto then.
We use spaces for everything, both with code examples and
the code within scripts/. This is consistent. I'm pretty
sure this has been agreed on before...
Regards,
Philip