[Htmlparser-developer] Re: Htmlparser-developer digest, Vol 1 #255 - 1 msg
Brought to you by:
derrickoswald
From: Fernando M. <fn...@ne...> - 2003-08-26 03:39:47
|
Hi, What do you think about set a complete conding standards? Not only spaces but comments, functions, for's, if's etc. My $0.02. Regards, -fmac > Message: 1 > Date: Mon, 25 Aug 2003 22:55:34 -0400 > From: Derrick Oswald <Der...@ro...> > To: htm...@li... > Subject: [Htmlparser-developer] tabs > Reply-To: htm...@li... > > > I'm thinking of making a gratuitous change to nearly all the htmlparser > source files -- replace tabs with spaces. > > I've been using a tabstop of 4 and my guess is some others have been > using 8. This is too much in my opinion, but the point is there seems to > be too much ambiguity in the repository at the moment about whether to > use tabs or not and how many spaces they represent and hence how much > indent is applied when entering a block of code. Maybe it's my fault. > I've been a 4 space person ever since moving away from the old DOS text > screens, where it was two spaces, and only because screen real-estate > was so precious. So the code I've inserted must look horrendous for > those with an 8 spacing. > > How about arbitrarily dictating that no tabs are allowed, and the indent > is 4? Just set a standard and adhere to it. > > I know every editor in use has a 'replace tabs with spaces' option and > it's just a matter of some people turning that feature on. I can > correct the existing files in a few minutes (correctly adding the number > of spaces to get to the next tabs stop, not just globally substituting > spaces for tabs). > > I know this is a religious issue, so I'll gladly offer to convince > anyone my way is correct and theirs is wrong, and trump anyone's code > drop with one that doesn't contain tabs until they give up. Harrumph! > > Derrick |