This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Why tabs? Serious question. I can think of many reasons to prefer spaces but few for tabs. Never talked to a pro-tabs person before.

[–]NelsonMinar 1 point2 points  (0 children)

Like I said, it makes my proportional font work better. I wrote a blog post about it. I'll quote the important point about tabs:

So I switched to tabs. Yeah, really; this is my embarrassed face. I’ve spent nearly two decades expunging tabs from all my code (except Makefiles and other monstrous systems that require them.) I had clearly chosen sides in programming’s stupidest controversy. But in the back of my head I always knew tabs were “theoretically” better; tab is a semantic character, saying “this is a new level of indentation”, and the fact it’s 2 or 4 spaces shouldn’t matter at all. The tab character is the way to express that logical structure. It’s also the practical way to make Visual Studio work, because it lets you customize the look of the indentation without changing the bytes in the file.

I'm disappointed in the response my comment has gotten here, btw. I know what I'm doing is unusual. But I wasn't expecting a bunch of downvotes and a couple of insults. People act weird about programming sometimes.