On Sat, 23 Jun 2001, Andy Armstrong wrote:

> Here we go... ;-)
> 
> I like tabs set to four spaces, tabs in source rather than spaces and
> opening braces on a new line. How evil does that make me?

Not necesarily evil, I also like the week with 3 days ( 1 for work, 2 for
weekend ), tabs in source, lines below 80 chars, and consistent
indentation.

The only problem is that all the code in jakarta-tomcat repository is
using the old eight space tab, with 4 space indentation.

( xml projects seem to prefer a 2 space indentation )

> Actually I was just wondering the other day how easy it would be to do
> smart de-tabbing on source -- i.e. how easily can you infer the original
> tab size given some arbitrary source file. Of course it's easy enough
> for a human, but how much syntax awareness would you need to do it
> automagically?

It's much easier to set the tab consistenly. The "8" has been used in
typewriters and most computers ( until recent editors decided it'll be fun
to allow you to configure that, and also what character coresponds to the
"0x41" byte ).

Costin 

Reply via email to