On Friday, July 18, 2003, 5:30:00 AM, Hal wrote:

>> The ++ operator does not really add any functionality to ruby, but
>> it would add readability since *a lot* of programmers out there
>> knows pre and post increment.

> True, it might help readability. But I don't think
> it will ever be in Ruby.

It won't help readability, as the construct x+=1 is rarely, if ever,
used in readable Ruby code.  Manually incrementing variables is a
relic of previous-generation languages which require explicit loops
for iterations.

Since x+=1 is rarely used in readable code, if x++ were introduced to
Ruby, it would hardly make a difference.

Gavin