3 ms·
I think names should first of all be reliable. What I mean by reliable? * It does not change either in time or space -- you have to come up with a good name r
by twawaaay 4y ago
I think names should first of all be reliable.
What I mean by reliable?
* It does not change either in time or space -- you have to come up with a good name right from the start and then you are not allowed to change it. The same thing has to be named the same way throughout the system and ideally through multiple connected systems.
* It must not mislead -- the name does not have to be super descriptive (although it is a desired property) but it cannot cause you to think the thing does something it doesn't do.
* It must be unique -- the same name cannot be used for different similar or dissimilar things.
- kevincox 4y agoYour list is very similar to mine: https://kevincox.ca/2021/03/23/good-names/ https://kevincox.ca/2021/03/23/good-names/ I agree. The uniqueness and stability of a name is key. Then making is not mislead is good. Then being descriptive is nice. I think the article is hitting on descriptive names can become misleading over time. People will think that a descriptive name is helpful, even if it was poorly chosen or is no longer accurate.