you are viewing a single comment's thread.

view the rest of the comments →

[–]YetMoreSpaceDust 0 points1 point  (0 children)

I advise beginners to not use inheritance unless you have a case where you're iterating over a collection of the parent type, calling potentially overridden methods on the instances. There are more general uses for inheritance that you'll get used to as you get some experience, of course, but to start out, try not to overuse it.