2 ms·
> You can override just about anything in Python, including the meaning of accessing a property JavaScript has getters that do the same [0]. You can even redef
by MaxBarraclough 7y ago
> You can override just about anything in Python, including the meaning of accessing a property
JavaScript has getters that do the same [0]. You can even redefine 'undefined' depending on version and mode [1].
Is operator overloading really that much 'worse' in Python?
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[1] https://stackoverflow.com/a/8783528/ https://stackoverflow.com/a/8783528/