G
Guest
Hi,
Im reading some examples in internet about classes, and i see in some cases
that the name of the classes should be like nouns (for instance: class
person, inside namespace company, inside of another namespace called
country)...
But in another webs, i see that there are people that call to his classes
like verbs (for instance:registeruser class, or activateuser class, etc...).
Actually, i usually called my classes like nouns. Class user, class car,
class account... etc..
What do you think its the best way to have a good logic in any application?
Im reading some examples in internet about classes, and i see in some cases
that the name of the classes should be like nouns (for instance: class
person, inside namespace company, inside of another namespace called
country)...
But in another webs, i see that there are people that call to his classes
like verbs (for instance:registeruser class, or activateuser class, etc...).
Actually, i usually called my classes like nouns. Class user, class car,
class account... etc..
What do you think its the best way to have a good logic in any application?