Tristan Zajonc (2014-01-16T00:17:44.000Z)
domenic at domenicdenicola.com (2014-01-22T19:25:04.077Z)
Continuing the tangent. There are lots of other use cases for operator overloading with mutable objects. On this list, I previously discussed the desire for operator overloading on large mutable matrices. The lack of operator overloading is the biggest syntax annoyance for building numerics libraries in JS. I actually don't have much need for all new numeric value types or literal syntax, but that's just me. I also pushed a bit for additional operators, to support elementwise/objectwise manipulation of matrices ala Matlab/Julia. The conclusion was that a colon postfix might be feasible: `a +: b`. I understand this may not be of interest to traditional users of JavaScript, but it would make it possible to have really beautiful numerics libraries and perhaps should be considered. See the thread "elementwise operators" for the rationale, with reference to PEP225 ( http://www.python.org/dev/peps/pep-0225/).