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.
[ Parent
| on HN ]
There are no comments on this comment yet.