On Tue, 2002-02-05 at 20:41, Andi Gutmans wrote:
> At 05: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?
>
> [4] When indenting, use the tab character. A tab is expected to r
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
At 05: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?
[4] When indenting, use the tab character. A tab is expected to represent
four spaces. It is important to maintain consist
On Tue, 5 Feb 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?
Tabs for indentation, see the README.CVS-RULES file... it should have
something on it if I'm not mistaken.
Derick
James Cox wrote:
> have we ever decided on this? in our code do we go for tabs or spaces? Is
> there a style guide anywhere on this?
see php4/CODING_STANDARDS:
[...]
[4] When indenting, use the tab character. A tab is expected to represent
four spaces. It is important to maintain consisten
>
> As this was crossposted to phpdoc, I consider it a question for
> phpdoc too. We use one space for XML indentation and 4 spaces
> for PHP codes in examples, no tabs. This is for phpdoc. And it
> is documented in the phpdoc howto.
Yes, i wanted to explicitly check each.
> >have we ever decided on this? in our code do we go for tabs or spaces? Is
> >there a style guide anywhere on this?
> Tabs, they've been used historically.
As this was crossposted to phpdoc, I consider it a question for
phpdoc too. We use one space for XML indentation and 4 spaces
for PHP code
From: "James Cox" <[EMAIL PROTECTED]>
> have we ever decided on this? in our code do we go for tabs or
spaces? Is
> there a style guide anywhere on this?
If you use 3 spaces for the comments in the function folding hooks,
you can get a correct funcsummary.txt. See CODING_STANDARDS.
-Egon
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 :: [EMAIL PROTECTED]
>Was I helpful? http://www.amazo