I'm trying to be consistent in my system with some logic to name a directory either singular or plural.
Examples of directory names
- document(s)
- language(s)
- apple(s)
The way I see it now is: everything should be named singular although it's strange in some cases.
Logic
The directory languages implies that you have more than one language.
The directory language is agnostic of it.
You could named it directory of language, but for common sense you just ignores the first word.
I've seen some rules about the content of the directory:
- plural if homogeneous and singular for heterogeneous.
Linux paths seems to follow the singular rule, but there're some directories with plural names. Perhaps it's just that it's hard to maintain a fully consistent system.
The problem
There's some logic behind it? (Well, I need one, to keep things consistent)
Aucun commentaire:
Enregistrer un commentaire