in reply to the "@" indicates plural hence "s" is redundant
plurality is implicit in the word "array" or the symbol @
Untrue. It denotes listishness. (For the purpose of argument, I consider an array to be a very special type of list.) Consider a single element array slice -- not plural, but still a list:
my @time; @time[0] = localtime;
That's a rather useless snippet of code, but it demonstrates the point.
Update: The naming suggestions make sense, and will make even more sense in Perl 6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: the "@" indicates plural hence "s" is redundant
by princepawn (Parson) on Oct 30, 2002 at 17:38 UTC |