Feb-28-2020, 05:56 PM
(This post was last modified: Feb-28-2020, 05:58 PM by Gribouillis.)
There is nothing wrong in using
When super was first introduced into python, it was not as ergonomic as it is today and that generated some arguments but all this is far behind us.
super()
. Its usage is very well explained by the official documentation. If it led to bad code, it would have been removed from the language long ago. The discussion by Raymond Hettinger can be taken as a guide to solve difficult corner cases that may occur with super(), but in most cases, its use is rather straightforward.When super was first introduced into python, it was not as ergonomic as it is today and that generated some arguments but all this is far behind us.