3 ms·
As per the article: The problem is that descriptive names don't stay that way. Descriptive names turn into misleading names as the things they refer to change o
by vvillena 4y ago
As per the article: The problem is that descriptive names don't stay that way. Descriptive names turn into misleading names as the things they refer to change over time. And while code can be refactored, it's very hard to refactor a service name, and almost impossible to refactor it away from people's minds.
- MayeulC 4y agoWell, if you change the role of a named thing, change the name too. The role change is probably breaking many assumptions already. You can also keep the old name around as a stub to talk to the new one, if needed (like during a transition period where it becomes deprecated).
- heavenlyblue 4y agoCute names are basically the equivalent of calling everything in your code "variable_1", "project_2". Descriptive names may be misleading, but at least they attempt to capture the intention rather than completely disregard it.