From: Thomas Hurst Date: 2003-08-02T23:02:08+09:00 Subject: Re: Indentation Style * Nikolai Weibull (lone-star@home.se) wrote: > I've been meaning to ask this for quite some time. Why is and > indentation-level of two (2) spaces the standard for Ruby? This is a common style for GNU projects too. Actually, GNU projects seem to prefer 2 spaces mixed with tabs for multiples of 8.. retarded IMO -- if you want to use spaces (heathen!) use spaces, not spaces AND tabs. Grr. > Is there any reason for it being so short/small? I've been using > eight (8), i.e. hard tabs, but been feeling it may be a bit too much. > But I don't think I would ever go below 4. I use tabs. Tabs are not eight, tabs are tabs, and are any width you want them to be; if you can't set your tabstop to 2 and have everything work properly, you're not indenting well. Personally I use a ts of 8; it "wastes" space, yes, but it keeps blocks well seperated and discourages you from getting too deep. At the same time, anyone can edit my code with their own tabstop and it should gracefully handle whatever indentation level they prefer. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/