Let's chat about naming

a brief treatment of naming things

Ben Collins

2 minute read

Hello there, developer. Come, sit down with me. We need to have a talk. A famous saying in our industry goes something like this: There are two hard problems in computer science: cache invalidation, naming things, and off-by-one errors (rimshot) There are a few guidelines we should be keeping in mind as we name things: Grammatical correctness. The humor is in the off-by-one irony of course, and we accept uncritically that naming things is hard.