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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
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://aspose.com/file-tools
 
subject: Class naming issue