| ▲ | nikisweeting 9 hours ago | |||||||
genuinely curious, doesn't JS's proxy objects and prototype-based MRO have a similar performance impact in theory? | ||||||||
| ▲ | cpburns2009 8 hours ago | parent [-] | |||||||
Yeah, I don't see how Python is fundamentally different from JavaScript as far as dynamicism goes. Sure Python has operator overloading, but JavaScript would implement those as regular methods. Pyrhon's init & new aren't any more convoluted than JavaScript's constructors. Python may support multiple inheritance but method and attribute resolution just uses the MRO which is no different than JavaScript's prototype chain. | ||||||||
| ||||||||