Tabs and spaces in www and doc

Devon H. O'Dell dodell at sitetronics.com
Tue Mar 8 08:12:14 GMT 2005


On Tue, 2005-03-08 at 09:08 +0100, Chris Zumbrunn wrote:
> On Mar 8, 2005, at 8:53 AM, Devon H. O'Dell wrote:
> 
> > Again, another thing I'm sure there's a good reason for, but why do www
> > (and doc, I suppose) use two spaces up until you get to 8, and then use
> > a tab? Why not use tabs and set the width to two spaces? Spaces make it
> > a real hassle to (re)format ;).
> 
> I've seen the opposite also: One tab followed by spaces. And differences
> from line to line, depending on who edited last. Certainly, it would be
> good to know what should be used, tabs or spaces, so that things can be
> cleaned up while working on it.
> 
> /czv

The one tab occurs when it can replace 8 spaces. I personally think this
is bad style (but don't want to start YATVS war), especially since My
Favorite Editor(tm) defaults to a tab size of two spaces.

--Devon



More information about the freebsd-www mailing list