I found some similar topics, for instance here, but they did not answer my question in entirely. Question is very simple:
Is it a good practice to call the super()
in a subclass' constructor? I know of course, that if I do not make it explicitly, a compiler will do it for me, but I'm asking only in context of the best practices. Do you consider invoking super()
in each subclass' constructor as a "triumph of form over substance" ?
I'm working with code which contains uses strategies, so I see, that for many programmers it does not matter at all... For me it does not matter as well now, but maybe I should change it...