Re: Re: Tabs Vs Spaces (and other coding styles)
| From: | Stig S. Bakken | Date: | Wed, 06 Feb 2002 08:50:22 +0000 |
| Subject: | Re: Re: Tabs Vs Spaces (and other coding styles) | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-79881@lists.php.net to get a copy of this message | ||
But historically, tabs were are also rendered on screen as 8 spaces.
This is no longer true, since tabs are often 4 spaces by default. And
for this very reason, today it is better to use spaces because that is
the _only_ way to format code so it looks the same in less, Emacs, joe,
vi, MSVC, Zend Studio or whatever. What way, people who read the code
need not touch their editor's settings, only those who write code do.
- Stig
On Tue, 2002-02-05 at 18:28, Zeev Suraski wrote:
> Tabs, they've been used historically.
>
> Zeev
>
> At 07:19 PM 2/5/2002, James Cox wrote:
> >Guys,
> >
> >have we ever decided on this? in our code do we go for tabs or spaces? Is
> >there a style guide anywhere on this?
> >
> >thanks,
> >
> >james
> >
> >--
> >James Cox :: imajes@php.net
> >Was I helpful?
> >http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/
> >
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, visit: http://www.php.net/unsub.php
>