aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class naming issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Class naming issue" Watch "Class naming issue" New topic
Author

Class naming issue

Joseph Zhou
Ranch Hand

Joined: Aug 01, 2000
Posts: 129
As I remember, there is rule says never use "s" for class name. But we have "seats" in business domain and also have "ProductCategories" in Cade's book(p169 class diagram), are we suppose to use such a naming convention?
Ramon Gill
Ranch Hand

Joined: May 15, 2003
Posts: 344
I think the rule is an 'unwritten' rule (i.e. a best practice). Some people seem to ignore it. I don't think it matters that much, as long as the diagram is understandable.

Ray
Joseph Zhou
Ranch Hand

Joined: Aug 01, 2000
Posts: 129
It may don't matter at high level, but when you look at the 1-n association, or you are going to give the class attributes or operations, people may confused, ex: why we have such a method String getSeatNum() in Seats class?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Class naming issue
 
Similar Threads
b-tree, where to start??
Naming Conventions
mysql simple doubt
Grouping categories of unit tests and their execution
Files with no public classes have no naming restrictions