From: Sebastian Reid Date: 2006-11-15T16:47:08+09:00 Subject: Re: ruby indentantion Which good reason is this? Are they dramatically more memory intensive? It seems to me that tabs would make more sense, since they would allow the reader to set their chosen length of indentation in the editor. That way it's two spaces to you, four to someone else, with it defaulting to the language custom. In any case hitting tab is far too much of a habit to break, whether that uses real tabs or fills in a number of actual spaces. What if you were trying to line up to a four-level nested line on a 4-space indented language? Are you going to hit space 16 times? On 15 Nov 2006, at 02:50, Trans wrote: > > Yukihiro Matsumoto wrote: >> Hi, >> >> In message "Re: ruby indentantion" >> on Wed, 15 Nov 2006 01:30:05 +0900, "Trans" >> writes: >> >> |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. >> >> The real reason of 2 space indentation is that it is smallest >> distinguishable indentation. 1 space is too small for eyes. > > And a smaller memory footprint to go with it (since tabs are > inceasingly shunned these days and for good reason). > > T. > > >