Guillaume Marcais <guslist / free.fr> writes:

> On Thu, 2005-03-03 at 23:48 +0900, Christian Neukirchen wrote:
>> Austin Ziegler <halostatue / gmail.com> writes:
>> 
>> > Okay, the other way is as syntax sugar. Define "a++" such that it is
>> > the same as "a += 1". But what if a is a String? Your program blows
>> > up. So we're back to option 1.
>> 
>> Well, define it as a += a.succ. :-)
>
> I guess you meant: define it as a = a.succ.

D'oh. Sure.

>> I used to miss ++ very much when I started Ruby, but I can't remember
>> feeling any need for it in the last time.
>
> Same here. ++, -- and the for loop are gone from my mind when I program
> in Ruby, and it's good this way.

+1

> Guillaume.
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org