On Nov 5, 4:11=A0am, Tony Arcieri <t... / medioh.com> wrote:
>
> I think you're missing why ++ could be useful, and it's precisely because
> Ruby is a "21st century language"
>
> The ++ operator, far more than just being syntactic sugar for +=3D1, woul=
d
> allow you to send an "increment" message to any object, which would chang=
e
> its value in place, i.e.
>
> =A0 def ++
> =A0 =A0 incrementing_logic_goes_here
> =A0 end
>
> I could see this as being handy

What's wrong with

  def inc
    incrementing_logic_goes_here
  end

How is that any different?