Splish Splash Highlightstm Super Challenge Hidden Picturesr

For the first time, Splish Splash water park in Calverton will be open at night. Visitors will walk through lighted-up trees on their way to ride the designated water slides and enjoy a pulsing, ...

Splish Splash Highlightstm Super Challenge Hidden Picturesr 1

Streaming platforms for Rubbadubbers: Splish! Splash! Splosh! haven’t been announced yet. Check back soon for updates on where you can watch it online.

Splish Splash Highlightstm Super Challenge Hidden Picturesr 2

super() is a special use of the super keyword where you call a parameterless parent constructor. In general, the super keyword can be used to call overridden methods, access hidden fields or invoke a superclass's constructor.

Splish Splash Highlightstm Super Challenge Hidden Picturesr 3

The benefits of super() in single-inheritance are minimal -- mostly, you don't have to hard-code the name of the base class into every method that uses its parent methods. However, it's almost impossible to use multiple-inheritance without super(). This includes common idioms like mixins, interfaces, abstract classes, etc. This extends to code that later extends yours. If somebody later wanted ...

In fact, multiple inheritance is the only case where super() is of any use. I would not recommend using it with classes using linear inheritance, where it's just useless overhead.

Just a heads up... with Python 2.7, and I believe ever since super() was introduced in version 2.2, you can only call super() if one of the parents inherit from a class that eventually inherits object (new-style classes).

Splish Splash Highlightstm Super Challenge Hidden Picturesr 6

Thirdly, when you call super() you do not need to specify what the super is, as that is inherent in the class definition for Child. Below is a fixed version of your code which should perform as you expect.

As for chaining super::super, as I mentionned in the question, I have still to find an interesting use to that. For now, I only see it as a hack, but it was worth mentioning, if only for the differences with Java (where you can't chain "super").