ctubbsii commented on issue #708: Simplify API definition by moving impl 
packages from under API packages
URL: https://github.com/apache/accumulo/issues/708#issuecomment-436020236
 
 
   @mikewalch That link is to a tutorial, which explains a simplified 
convention. A better link on package naming conventions is probably 
http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html , which 
explains that the package name *prefix* should be all lower-case, based on 
organizations DNS, but also spells out that "Subsequent components of the 
package name vary according to an organization's own internal naming 
conventions."
   
   I think `camelCase` is fine as a convention for these "subsequent 
components" impl packages (as long as it starts with a lowercase, to not look 
like conflict with class names). And, this naming convention is permitted by 
the JLS. `x_impl` is also an option, but I just don't like it as much, and it's 
not very Java-like.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to