Is it possible that you are in fact referring to subtyping and not inheritance of attributes and members? Subtypes are great. So are typeclasses and interfaces, of course. For your usecase, a struct ...
In the code above, Example and Example2 behave exactly the same way. The no-argument super() effectively fills in the class and self. If we take a slightly more complex hierarchy from part 1, we can ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results