Re:Ask HN: How to learn to give clear, descriptive names to ...
by CyberFonic on Monday May 30, 2011 @09:56PM
(#2601006)
For me names evolve over time, when I come up with a better name, I just do a global replace (sed is your friend). Other than that, I follow the nouns for things (objects) and verbs for actions (methods). If the name starts looking like a sentence, then I stop and rethink the design. Like to keep things as simple as possible.
The strategy I use is to iterate naming, just as I would any other aspect of code. You are unlikely to want to do this as often, but if you find your current names are no longer working for you, it might be time for a change.