Re: Tabs Vs Spaces (and other coding styles)

From: Date: Tue, 05 Feb 2002 17:50:16 +0000
Subject: Re: Tabs Vs Spaces (and other coding styles)
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-79256@lists.php.net to get a copy of this message
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 consistency in indenture so
    that definitions, comments, and control structures line up correctly.
[...] maybe we should add "indent-tabs-mode:t" to all the emacs options footer comments? -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77 Wir stellen für Sie aus auf der CeBIT 2002 und freuen uns in Halle 6 auf Ihren Besuch am Stand H 18

« previous php.dev (#79256) next »