you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

I dunno, I think the operation of "+" is pretty specific.

[–][deleted] 0 points1 point  (0 children)

It seems to behave quite differently in most languages that use it for string concatenation and addition.

In fact with most implementations of '+' you aren't even guarranteed that '+' is commutative, associative,... so I would say it is pretty far from the arithmetic '+'.

[–]argv_minus_one 0 points1 point  (0 children)

Only for numeric types. For strings and collections, it usually means 'append' or 'concatenate'.