On Wednesday, July 2, 2014 9:48:26 PM UTC+2, John Myles White wrote: > > String concatenation is not commutative. Addition is generally used for > commutative operations. So if you're a mathematician, using addition for > string concatentation seems very wrong. >
In Wolfram Mathematica there is a multiplication operator for scalars (i.e. * or space), commutative, and a multiplication operator for matrices (i.e. "."), non-commutative. In any case, Mathematica does not allow to define custom types, maybe that's the reason they decided to have distinct operators. In contrast, the commutativity of product arguments may be determined by their types in Julia.