Forgot password?

Sign up for free to post and vote!

Tabs or spaces?

Category: Tech > Computers

Tabs

4
4:0
Vote upVote down

Arguments for tabs:
tabs let you key through files quicker
they let you adjust the level of visible indenting without changing conceptual indenting
they are easier to count
If you use tabs for indenting and spaces for other kinds of whitespace it makes it easier to write patterns to deal with indenting cases.

- Nathan Y
(reply to this)

-1
0:1
Vote upVote down

I like tabs, they are adjustable and compatible with nearly any progrram.

- Bob C
(reply to this)

-2
0:2
Vote upVote down

They are adjustable, spaces are dumb.

- Nathan F
(reply to this)

Add Opinion

Any HTML will appear as code. Links will automatically be converted.

Spaces

0
1:1
Vote upVote down

Definitely spaces. Some version control systems don't even allow files with tabs to be checked in. Of course if you're \working on the document alone, without any other people, it doesn't really matter. But nowadays everything gets emailed around. So spaces.

- Mikhail U
(reply to this)

0
0:0
Vote upVote down

I walk out of meetings that degenerate into debates over tabs vs. spaces.

- anonymous
(reply to this)

-2
0:2
Vote upVote down

Always display properly, tab people are dumb.

- Nathan F
(reply to this)

Add Opinion

Any HTML will appear as code. Links will automatically be converted.