From: "Simon Cozens" <simon / simon-cozens.org>


> Rando Christensen <rando / babblica.net> 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