Never Use “Object” postfix or prefix in class names

ttp://c2.com/cgi/wiki?DontNameClassesObjectManagerHandlerOrData

As mentioned in the above wiki page; nouns such as Handler and Object should not be used in class names, especially the noun “Object” does not add any meaning to a class name in an OO language. Class names impacts source code readability so much, always prefer a relatively long class name over a small and cryptic class names.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s