From: shiwei zhang Date: 2006-11-15T01:08:57+09:00 Subject: Re: ruby indentantion ------=_Part_118412_11529280.1163520533583 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline To Robert: This sort of things should be casual, it's just habit. You might get used to either 2 spaces or 4 spaces. On 11/14/06, Robert Spielmann wrote: > > Am Mittwoch, den 15.11.2006, 00:39 +0900 schrieb Alfonso: > > I have just started with ruby, and something that I have observed is > > that most of the code is indented with 2 spaces. Having programmed some > > time with C# and python, it's very strange to me so few identation. To > > me 4 spaces is much better to read. Is there something like a style > > guide in ruby that says that you should use 2 spaces or is it all right > > using 4 or 3 spaces? What do you use in your code? > > > > Hi Alfonso, > > indentation with 2 spaces is a non-written standard in Ruby. I use 2 > spaces. > > Regards, > Robert > > -- > Robert Spielmann > > Codecentric GmbH > http://www.codecentric.de > > > > ------=_Part_118412_11529280.1163520533583--