Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 5
    A class named Base anything is more an indication of a bad name than anything else. You do not need "base" or "abstract" in the name to have an abstraction. You just need an idea brought to fruition with code that sits behind a name that explains the abstraction and why you would use it without seeing the code that sits behind the name. Commented Mar 4, 2021 at 1:04
  • 4
    BaseStar, BaseBuilder, Base, BaseBall. In their own contexts are valid objects. Commented Mar 4, 2021 at 4:38
  • It wouldn't matter but the class names should make sense. The class represents a Car should be called Car no matter if it is an abstract class, base class or whatever. The convention could be harmful in because you might have BaseCar, Car, DerivedCar classes that all represent one thing leading to confusing class heirachies. Commented Mar 30, 2021 at 8:59