From: Gavin Sinclair Date: 2002-11-26T09:17:18+09:00 Subject: Re: Things That Newcomers to Ruby Should Know (11/24/02) From: "Simon Cozens" > Rando Christensen writes: > > x++ > > over this? > > x += 1 > > > > By my count, it's two spaces, a shift key, and an extra character. > > On an expression that would otherwise be three characters long, that's > quite a high percentage, no? And given that the concept of 'x++' is very rarely needed in a Ruby program, having iterators instead of for-loops, those extra three characters are actually a very small percentage, amortised over the entire program. Gavin