matz / zetabits.com (Yukihiro Matsumoto) writes:

> Hi,
> 
> In message "[ruby-talk:15197] Re: Discussion on new Ruby features"
>     on 01/05/16, Christian Szegedy <szegedy / or.uni-bonn.de> writes:
> 
> |In order to maintain backwards compatibility, there would also 
> |be another possibility:
> 
> The only elegant solution I can think of:

What about only make it an option to not only overwrite operator + but also to
overwrite operator +=. So if anyone is concerned about speed, he may overwrite
+ and += and the rest can just work with overwriting operator +. So if Ruby
finds only operator +, everything works just like it does now, but Ruby now
looks, if it can find operator +=, this one is used and it is not
automatically generated.
 
-- 
Until the next mail...,
Stefan.