Naming again

I can't stress how important naming is, in all aspects, not only tests. The first thing someone looks at when viewing code is the name, be it a class, variable or method. Naming even plays a more important role when isolating functionality. If you are following the MVP pattern to separate the view from the presenter, don't go using method names that reference any sort of visual control. Don't make a presenter method called SetActiveTab.  

It's not just a name. It's important.

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 )

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 )


Connecting to %s