Re: Please don't flame me...why is there no "++" in Ruby again ?



Roger Pack wrote:
David Masover wrote:
... Then again, why pollute our namespace with an operator that would see so
little use? I can't remember the last time I had to use "+=1" in Ruby.

I wish we had it. But that's just me.

Ruby doesn't use ++ because that would .succ!
.