Mark J. Reed wrote:
> All of this is IMESHO, of course, but I feel rather strongly on this
> issue. " ++ " means " += 1 ".

Agreed.  Anything else violates the principle of least surprise.

Mind you, this is only true for numerics, where the concept of "1"
potentially has meaning.  For non-numerics, something closer to "the
next item in the series" is a reasonable fall-back definition,
assuming that we define the operator at all.  So if '++' works on
strings, it might be reasonable to have "bob"++ == "boc".

-- 
Jonathan "Dataweaver" Lang

Reply via email to