[stats-dev] Formatting

Jim C. Nasby decibel at distributed.net
Sat Sep 13 18:21:26 EDT 2003


On Sat, Sep 13, 2003 at 02:20:40PM -0700, Benjamin Gavin wrote:
>   I for one am 100% against using TABs in general.  So, if we agree on 4
> spaces and your editor of choice converts a TAB into 4 spaces then I don't
> have a problem with it, but there's that annoys me more than dealing with
> a bunch of code where there are tabs all over the place.  This is
> especially true after a few people have touched the code and person x's
> editor inserts TABs and person y's editor inserts spaces.  Then when
> person x opens the file and their tab settings are slightly different
> (i.e. 2/3 rather than 4/6 spaces) the formatting is an absolute nightmare.

Sorry, I should have been more clear. I meant tabs as in 4 spaces, not
actual tabs.

>   In either case, I'm willing to give up the pretty formatting on the SQL
> statements, but it just doesn't seem like lining them up takes so much
> time as to be an annoyance.  Of all the code for participants/teams
> there's only something on the order of 10-12 SQL statements, I hardly
> think maintaining those in a nicely formatted manner is going to break
> anyone.  Of course, I'm probably the minority there. :p

I find dorking around with special indenting to be as frustrating as you
find embedded tabs to be, so I'd rather we just go with 4-space
indenting.
-- 
Jim C. Nasby, Database Consultant                  jim at nasby.net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


More information about the stats-dev mailing list