People usually feel very passionately about matters such as this one.
I have not seen any official pronouncement on it:
Do you prefer singular or plural names for:
1. arrays
2. collections
3. directories
In other words do you prefer goats[i] or goat[i], HashSet goats or
HashSet goat, the C:\goats directory or the C:\goat directory.
By the way, what brought this on was the discovery that I can't have
an icons directory on my website since Apache reserves that name for
its own purposes. I had to rename to the icon directory.
for ( goat : goats ) is an argument for plural names.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.