3 ms·
And how do you express that as arithmetic? I can get as far as `plot() / 3` but then no idea how to proceed. I don't think overloading arithmetic is a very goo
by jstanley 4mo ago
And how do you express that as arithmetic?
I can get as far as `plot() / 3` but then no idea how to proceed. I don't think overloading arithmetic is a very good way to express this.
- bittumenEntity 4mo agoIsn't this somewhat the point of python's override capability? You can exactly define what addition means here, just like you have to define what addition means for a matrix or another data structure. Separately you might find this to be smelly design, but then you should remember that this at least has precedence ¯\_(ツ)_/¯