I’ve read all the books about why to create a class and things like ‘look for the nouns in your requirements’ but it doesn’t seem to be enough. My classes seem to me to be messy. I would like to know if there are some sort of metrics or something that I can compare my classes to and see if there well designed. If not, who is the most respected OO guru where I can get the proper class design tips?
Share
if you’re familiar with database design, specifically the concept of normalization, then the answer is easy: a data-centric class should represent an entity in third normal form
if that is not helpful, try this instead:
that’s about as far as i can go with general abstract advice (without writing a long essay); you might post one of your classes for critique if you need specific advice