Some context:
I'm creating a very simple component-entity 2d game engine
Vast majority of classes will have flat subclass hierarchies
Pretty much all base classes don't require any arguments
I'm using Python 2
So, the current solution, is to make __init__
of base classes call overridable _on_init
method, because having to do BaseClass.__init__
strikes me as unsightly, and so does having to use super()
I'm not necessarily asking about your thoughts on this practice(although they are by all means welcome), but mainly just asking if there aren't any pitfalls or other unpleasantries that I might be subscribing myself to.