From: Mc Osten Date: 2006-03-12T18:23:46+09:00 Subject: Re: from Python to Ruby in 10 seconds Il 12-03-2006 Douglas Livingstone ha scritto: > a += b is the same as a = a + b. So, (a + b) creates a new string, and > then assigns it to a. If you did a = b + c, you would not expect b to > change, and so it is the same with a += b. Ok. Perfect: it makes sense even if in the first instance I found it misleading, since I expected it to have the same semantic of a simple "append" operation, but of course regarding a+=b a contracted form of a = a + b, it's fine. Probably it was prior C++ exposure that made me think that way.