From: James Edward Gray II Date: 2005-03-23T07:48:19+09:00 Subject: Re: Any guides for good coding in Ruby? On Mar 22, 2005, at 4:24 PM, Martin Ankerl wrote: > I also do this, but there is one thing I cannot stand: every ruby lib > uses 2 spaces for indentation! IMHO it should be tabs, and *only* > tabs. This is much better, because in almost every editor it is > possible to set the tab width to whatever one likes. I hate 2 spaced > sourcecode, because I usually set one tab == 8 spaces, and use a > non-fixed font. Amen! I don't know who thought up the two space thing, but they were out of line. :) In Ruby, you don't even need the extra characters to keep lines short, generally. I'm set tabs to four spaces wide, but it's definitely tabs all the way. And while we're getting things off our chest, it really bugs me when people don't keep their code within the 80 character boundary guideline. I've been reading all the links posted in this thread and they've all recommended it, but I can sure tell you from running Ruby Quiz that not everyone is listening. ;) James Edward Gray II