3 ms·
Because I have been looking at several different programming languages recently, I've been thinking a lot about naming. My conclusion is that the root of the di
by brudgers 10y ago
Because I have been looking at several different programming languages recently, I've been thinking a lot about naming. My conclusion is that the root of the difficulty is that naming works best when it is based on the way a community uses language to name things.
Specifically, the specification should start from how a language community has been naming things and be published when the community has reached consensus. I see the divan and think 'lounge', someone else sees the sofa and thinks 'salon' or 'family room' or 'den'. The commode/crapper/water closet?
Languages where one person decides tend to punt naming down the road. Code where one person decides tends to require documentation but encourage the idea that the code is self documenting.