Skip to main content

Adam Bien: Abstract, If, Impl, Default, Bean Conventions - Just for Lazy Developers

Posted by kfarnham on September 21, 2009 at 8:01 PM PDT

Java Champion Adam Bien's latest blog post is Abstract, If, Impl, Default, Bean Conventions - Just for Lazy Developers:

Using the prefix "abstract" to mark abstract classes is more a workaround or a shortcoming, than a best practice. Even worse is the introduction of naming conventions for interfaces with the only purpose: avoidance of interface naming collisions with their implementations. The convention "Default" is superfluous as well (what is "Default"?). Even the Remote and Local, Bean suffixes for EJBs are no more that interesting - the Beans are already annotated with the corresponding annotations...

Related Topics >>