3 ms·
I didn't see it linked in the article nor mentioned here already but several of the problems with `super` have been discussed in "Python's Super is nifty, but y
by draebek 15y ago
I didn't see it linked in the article nor mentioned here already but several of the problems with `super` have been discussed in "Python's Super is nifty, but you can't use it"[1] for quite some time.
[1]: http://fuhm.net/super-harmful/ http://fuhm.net/super-harmful/
- mikeklaas 15y agoThat article is about Python 2's super, which is a different beast. Lessons were learnt in the design of Python 3's version.
- Peristarkawan 15y agoNot really. The only thing that changed about super in Python 3 is that you can call it with no arguments, which is just a short-hand for the way it was already used in Python 2. Everything in that article applies equally to both Python versions.