Follow conventions when naming things.

Classes, methods, objects, data elements – please be consistent and predictable.

Establish some good naming conventions for your team. Follow the conventions always.

If you are working with a framework, then follow its conventions where possible. This will benefit you greatly when you add people to the team who have worked with the same framework at their previous job.

With the right conventions, everyone should know what the obvious name of a new object should be. There should be no surprises.

It should also be immediately obvious what the name represents when you encounter the name in the code.

Following this behavior accelerates development and reduces bugs.

Leave a Reply

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

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

Facebook photo

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

Connecting to %s

%d bloggers like this: