jeudi 2 juillet 2015

While using design pattern, are there any naming conventions?

While working on implementing design patterns in the project, is it enough to name packages as design pattern type like:

*dao
*delegate
*facade
*coordinator
*handler
*util

Or one need to specify those in the source code file explicitly as:

*DAO.java
*Delegate.java
*Facade.java
*Coordinator.java
*Handler.java
*Util.java

Also found some naming conventions where I*. Java (prefix with the letter 'I') use for the interface, E*.java for an enum, or adding *Impl.java to indicate an implementation class?

Aucun commentaire:

Enregistrer un commentaire