|
I've been mucking around with Eclipse lately (specifically, the GEF). The predominant paradigm is subclassing classes provided by the framework to provide for extended functionality.
The question is: if the class you're extending is called ContextMenuProvider for example, do you call the subclass ContextMenuProvider or do you call it BlahContextMenuProvider where Blah is some fabricated name (such as the project name or My (shudder))?
Java provides this wonderful namespace delineator (i.e. the package) but we seem to be afraid to use it. I'm perhaps the worst class namer that there is, so if I can get out of naming a class then I'm happy! What do you think? Use a prefix or use the package defined namespace?
|