It's a language agnostic question. Seems like a common problem, but I can't find answer anywhere.
I need to pick a name for a variable to hold the values of one attribute of a list of objects, and I would like the variable's name contain the attribute name as well as the object's name. My question is how to use the plural forms correctly within the variable name.
For example, for storing the names of some companies from a list, imagine some pseudo code like this:
string x = companies.map(p => p.name); // or string x = companies.select(p => p.name); // or string x = companies.getNames();
And the question is: what should be the name of
a) companiesNames - (two plurals)
b) companiesName - (plural + singular)
c) companyNames - (singular + plural)