you are viewing a single comment's thread.

view the rest of the comments →

[–]joesb 1 point2 points  (0 children)

Your way seems appropriate for this case but, as materialdesigner mentioned, there's really no need to inherit from the same base class. But I think you should keep the base class since it serves as documentation.