From: Trans Date: 2006-11-15T01:30:05+09:00 Subject: Re: ruby indentantion Alfonso wrote: > 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? This is just an guestimation but I think Ruby went 2-space because the most common keyword that takes a block is only three letters long: 'def'. So any more than 2 spaces of indention and you're past the end of that word, which makes it look a little off kilter. T.