[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-10 Thread Stig S. Bakken
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

Re: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-10 Thread Stig S. Bakken
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

[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Andi Gutmans
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

[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread derick
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

[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Hartmut Holzgraefe
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

RE: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread James Cox
> > 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.

Re: [PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Gabor Hojtsy
> >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

[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Egon Schmid
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

[PHP-DOC] Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Zeev Suraski
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