• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Number of Classes

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have searched around, and found little guidance on the number of classes. One post mentioned having a total of 28 classes in the entire project.

Currently, I have 18 classes and 3 interfaces in my database package, not including the classes required by by specs, and another class to create instances of my database.

This seems excessive to me. I am sure I could justify just about anything, but am wondering what an "average" implementation might be like.

Does anyone have any thoughts on this?
 
Michael Kelleher
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One caveat to this is, all of my classes thus far, have fewer than 180 non-comment lines. Fairly small classes. I would say, fairly cohesive.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have 20 classes. whith inner classe 35.
 
Michael Kelleher
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Xabier,

Does the 20 classes include everything? Front end UI, database, network client, locking, network server?
 
Michael Kelleher
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Xabier,

Does the 20 classes include everything? Front end UI, database, network client, locking, network server?
 
Xabier Martija
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes,

8 for the db package B interface, Data class, 3 exceptions, VO Contractor, file manager class, reservation manager class.

10 for the GUI's (inner classes not included):1Application Runner,2 client configuration windows,a common client Window, a table model,1 server configuration window,1 server window + some panels

2 for network. the remote interface + interface implementing remote object

don't think that the are large: all compiled classe + 1stub= 60KB.(classes directory)
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic