Change names when you find better ones

Names are everywhere in software. We name our classes, variables, namespaces, etc.

The name should answer all the big questions about your code. 

When I'm refactoring my code that is one of the first thing I look for: Does the name of this method reveal its intent? If at that point I can think of a better name then I change it right away. 

Choosing good names can take a lot of time but it could save you more time in the future. 

Comments

Popular posts from this blog

Resharper 4.5

Fix bugs, then write new code

Flag Arguments