Hadi Hariri's Blog

Naming again

Tuesday, 16 September 2008 09:32 by Hadi

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.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed