Re:Things from Python I'd miss in Go
by nordsieck on Tuesday June 10, 2014 @10:45AM
(#7872775)
It's important to note that numerical calculation is a domain particularly suited to operator overloading simply because the underlying domain (math) already uses operator overloading heavily (e.g. multiplication means something different when done on scalars and vectors, but in both cases it is well defined and in common usage).
[ Parent
| on HN ]
You should leave out the 'overloading':
- Math (and it's very close relative logic) are the only domains that use operators, period.
- other domains use overloading; homonyms are very common.