Naming classes like "com.facebook.FacebookClient" vs "com.facebook.Client"

Posted by Coronatus on Stack Overflow See other posts from Stack Overflow or by Coronatus
Published on 2010-06-03T20:41:03Z Indexed on 2010/06/03 20:44 UTC
Read the original article Hit count: 310

I'm looking for opinions or if there is an agreed way of doing this, regarding to naming namespaced classes.

E.g.:

com.facebook.FacebookClient
vs
com.facebook.Client

Or

javax.script.ScriptEngine;
vs
javax.script.Engine;

I'm currently prefer the first name in each example but the extra word seems a bit wasteful.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about language-agnostic