James G. Sack (jim) wrote:
Tracy R Reed wrote:
Christopher Smith wrote:
Chuck Esterbrook wrote:
Cobra simply requires that you indent blocks with one tab or 4 spaces.
Wait, I thought you made a call on the tab-vs-spaces debate!

Now I'm thoroughly disappointed.
Yeah, this is odd. I can't believe it's such a religious issue but there
seems to be a lot of contention between tabs and spaces. I always use
spaces. Because I want the code to render the same on any display I use.
I have my vi and emacs both configured to use 4 spaces except in
Makefiles or some similar place which explicitly wants tabs. It seems
the only thing anyone really agrees on is that it is evil to mix tabs
and spaces.


<possible flamebait?>
I've come around to thinking that the only good use for TAB is as a
separator that works better than comma (eg,.csv). I grudgingly accept
makefiles use of tab as a reasonable exception (or stretch of the
separator definition).

I religiously avoid embedding TAB is any text.

I have sinned by using the TAB key to control indent, but now that I
have learned about ^{T,D} in vim, I may escape that habit.
I of course *know* you are totally wrong about TAB, but I'd settle for a language that just chose a side and forced everyone to stick with one way. Python's approach let's them mix and it's just a recipe for disaster.

--Chris

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to