in reply to the "@" indicates plural hence "s" is redundant
I agree. I take it even further and suggest you usually avoid the plural "s" in all program identifiers. It just creates a constant source of doubt ("Did we call that 'user' or 'users'?"). If you just have a "no plural 's'" rule, then you don't waste time trying to remember particular answers to that question repeatedly.
And, going back to the case of arrays, $users[5] doesn't read as well as $user[5]. So using @users can lead to more code that is less like English if you use elements of the array more than the array itself.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: the "@" indicates plural hence "s" is redundant
by impossiblerobot (Deacon) on Oct 30, 2002 at 17:54 UTC | |
|
Re^2: the "@" indicates plural hence "s" is redundant
by Aristotle (Chancellor) on Oct 31, 2002 at 11:19 UTC | |
by BrowserUk (Patriarch) on Oct 31, 2002 at 16:46 UTC | |
by Aristotle (Chancellor) on Oct 31, 2002 at 17:33 UTC | |
by adrianh (Chancellor) on Oct 31, 2002 at 18:04 UTC | |
by Aristotle (Chancellor) on Oct 31, 2002 at 18:24 UTC |