From: matz@... (Yukihiro Matsumoto) Date: 2003-02-19T13:44:04+09:00 Subject: Re: String#+ operatorbroken? Hi, In message "Re: String#+ operatorbroken?" on 03/02/19, Jason Persampieri writes: |> Remember, s += "whatever" is a syntax sugar for |> |> s = s + "whatever" |Hmm. Would it make sense to 'special-case' that? They accomplish the same thing logically |(right?), and I would expect a language to evolve out these hidden 'performance-bombs'. In fact, |anytime there's an operator= method, maybe it should never allocate a new object? They are not same: s = p = "" s += "foo" p s # "foo" p p # "" s = p = "" s << "foo" p s # "foo" p p # "foo" matz.