Ah, I see where you got that information from. However, the reference is more up-to-date than the DM Guide, so I'll stick with the idea that += doesn't do anything different than +.
1 moment later: actually, I'm not really sure what to think, the reference is known for missing some information. I am ashamed to admit that I should've done more research before posting though.
If you look up list operators in the reference you'll se that it states that they have special meanings when dealing with lists. And yes the += is missing from the manual but it only adds to the contents of the exisitng list while + creates a new instance with all items.
While it's essentially the same thing if you assign afterwards like so:
ListA = ListA + ListB
ListA += ListB
The difference is the shorthand notation doesn't create the temporary list as it's unneccessary. It is neccessary with only + however so you can do something like
ListC = ListA + ListB
Hope that clarifies it for you at least
And maybe you should listen to people that the Reference proves my claims, whether you like it or not? There's no reason to argue over this. I don't care if you think that is not the case, myself, the Reference know it is, as well as, evidently, other people, and that is good enough.
DivineO'peanut wrote:
Oh, no special cases?
Please good sir. Do you need glasses, or a brain? Normally I wouldn't point that lacking out, but you deserve it for your responses to the other guys.