Using tabs to indent code lets the reader decide how much indentation he wants.

By 6 D'Archangel on February 14, 2007

Embed Claim Make a related claim

Discussion (7)

http://wonko.com/

7 Ryan Grove who disagreed, says

You apparently don't line up your equals signs when declaring multiple variables. Or, if you do, you've never changed the tab width in your editor and seen how much it screws things up. :P

Make a related claim about 1 year ago (link)

Claims inspired by this comment

Aligning code is a bad idea
http://mart.degeneration.co.uk/

3 Martin Atkins who agreed, says

I tend to follow this simple rule: tab indents, and space lines up.

If you have a brace or other bracketing delimiter split over multiple lines, indent by one tab. If you're just lining some things up, use spaces... but still use tabs up until the point where you would have started the line were you not lining things up.

This way everyone can have their own tab settings but the lining up still works.

http://butterseite.com/

2 Andreas Pizsa who disagreed, says

I agree with Ryan :)

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

1 Rick Wong who disagreed, says

The claim is formulated well, but let me reformulate:
Using tabs to indent code lets the reader decide how screwed up the code displays.

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

3 Mark J who agreed, says

Ryan is right about the tabs making the = line up poorly, but if the user wants to do that then using tabs will allow it, so the claim is still true.

It just means that this doesn't necessarily make it better to use tabs.

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

1 jack.lauritsen.myopenid.com who agreed, says

yes it does. No I don't want them to be able to do that... Were is my pdf compiler! jk

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

10 Jonathan Rascher who disagreed, says

I also agree with Ryan.

Make a related claim about 1 year ago (link)
Sign in in to leave a comment.