Skip to main content

Adam Bien: Are Naming Conventions Still Needed for Abstract Classes?

Posted by editor on September 16, 2009 at 6:00 AM PDT

Java Champion Adam Bien recently asked "Are Naming Conventions Still Needed for Abstract Classes?":

In case you have trouble to find a unique name for an abstract class, you probably don't need it. Some reasons, why 'Abstract' doesn't have to appear as prefix in the name of an abstract class:

  1. Abstract classes are already distinguishable by the keyword abstract. There is no need to further emphasize it.
  2. A prefix 'Abstract' doesn't provide any additional value to the user - in contrary it blurs the actual intension.
  3. Modern IDEs don't let you instantiate an abstract class, even before saving / compiling...
Related Topics >>