tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <>
Subject Re: [jtc] tabs policy??
Date Sun, 24 Jun 2001 17:19:48 GMT
On Sun, Jun 24, 2001 at 08:52:03AM -0500, kevin seguin wrote:
> GOMEZ Henri wrote:
> > 
> > I'm using tab = 4 so +1 there.
> > 
> it's important to make the distinction between indent level and number
> of spaces per tab -- they are totally different.  i'm for 4 space indent
> level, tabs set to 8 spaces (the standard).  tabs set to 4 spaces is
> bad.  when some people use 4 space tabs, and some use 8, and there are
> tabs in source code, you're just asking for unreadable code.

That just leads to formatting problems because people don't understand
that.  If you must have tabs, they should be the same as the indention 
level, not some factor of the indention level.  This doesn't have to be 
complicated.  One tab == one indention level.

There is a reason that the Apache standard says "no tabs."  They are
evil.  And, tabs inherently lead to "unreadable code" anyway. 
-- justin

View raw message