3 ms·
I totally get why people _want_ operator overloading - it is immensely useful when performing arithmetic. Writing `x+y*z` is easier vs `x.add(y.mul(z))` and I t
by inglor 12y ago
I totally get why people _want_ operator overloading - it is immensely useful when performing arithmetic. Writing `x+y*z` is easier vs `x.add(y.mul(z))` and I think everyone who had to do statistical analysis agrees.
However - I totally agree that this hack shouldn't be put to real use. ES7 gets value objects with proper operator overloading that shouldn't suck.