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 used to miss ++ very much when I started Ruby, but I can't remember
feeling any need for it in the last time.

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