Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How far we need to go on class design

 
Ajay Prakash Shukla
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have been going over this a lot, but have not yet been able to make my mind, do we need to inlcude classes like "Route" , "Schedule" and all or an assumption can be made that "Flight" will have all this information. Question is how much detail we need to go?

Any hint guys
Thanks
Ajay
 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajay,

My suggestion is to KISS. Put in only the ones you felt is important without complicating the class diagram too much. I did explain some of the classes in my assumptions document which I did not show at all in my class diagram.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!