From: matz@... (Yukihiro Matsumoto) Date: 2001-08-24T01:33:49+09:00 Subject: [ruby-talk:20189] Re: ++ Operator Hi, In message "[ruby-talk:20183] ++ Operator" on 01/08/24, SKa writes: |I just needed some 30 minutes to debug a piece of code which gave me a |parse error followed by some nested method errors. I was quite |surprised to track it down to the term 'i++' in which I could see no |error until I discovered that there is no ++ operator in Ruby. Is this |due to any design concepts (that I don't understand) or is this just a |missing feature? At least the Int class should have this operator |defined, or what do you say? "++" in C/C++ is fundamentally an assignment, or in other words, an operation on variable not object, so that it would not fit well in object-oriented model. Try "i+=1" instead. matz.