One should indent code with two spaces.

By 8 Rorek on February 14, 2007

Embed Claim Make a related claim

Discussion (8)

http://bcat.myopenid.com/

10 Jonathan Rascher who agreed, says

This is the One True Indenting Method.

Make a related claim about 1 year ago (link)
http://joelmichael.myopenid.com/

2 Joel Hayhurst who agreed, says

do not listen to the false prophets. the classic is still the best

Make a related claim about 1 year ago (link)
http://meangrape.myopenid.com/

3 Jay who disagreed, says

May you and your so-called 'One True Indenting Method' be cast down along with all those who use Emacs!

Make a related claim about 1 year ago (link)
http://matthewstechnologyblog.blogspot.com/

2 MattJ who disagreed, says

Thou shalt use the One True Tab!

Make a related claim about 1 year ago (link)
http://wikitravel.org/en/User:Mark

3 Mark J who disagreed, says

Two spaces make my eyes hurt!

Make a related claim about 1 year ago (link)
http://bignose.whitetree.org/

2 bignose who disagreed, says

Two for some. Four for others. A single TAB for others. It all depends on how important indentation is to understanding the code.

Make a related claim about 1 year ago (link)
http://vxjasonxv.com/

1 ☆VxJasonxV☆ who disagreed, says

One tab. One tab CHARACTER. If you indent any given level with one tab (that is, one tab more than the previous), then you can customize your editor to make the tab character look like <x> space(s). One single character means anything.

USE EDITORS THAT SUPPORT TABS! One tab is all you need, and it can mean whatever you want to whoever needs it.

Make a related claim about 1 year ago (link)
http://d.agosta.myopenid.com/

No_score d.agosta.myopenid.com who disagreed, says

I agree with VxJasonxV. I use tabs with my editor displaying it as the equivalent of, depending on the language and style, either two or three spaces.

Make a related claim 5 months ago (link)
Sign in in to leave a comment.