I have settled into this pattern:
- Name expands as I understand better the structural role of a thing. Duplication in names begins to become easier to spot.
- Removing duplication in names means introducing helpful structures, resulting in shortening names again, particularly as the intent/purpose of thing becomes clearer.
Long names stay unnecessarily long when we don’t notice the patterns that suggest the missing structures.
The more examples of this kind of thing, the better!
(And my preferred name for that is rolesByEmployee
. In general, “values by key”.)
Should be “wið”, no? 😉