4 ms·
It makes me curious if you apply the same rule to variable names in (other) programming, when they contain multiple items of a kind (e.g. arrays, lists, sets an
by thijsvandien 10y ago
It makes me curious if you apply the same rule to variable names in (other) programming, when they contain multiple items of a kind (e.g. arrays, lists, sets and so on).
FrequentCustomerArray
rather than
FrequentCustomers
? If not, why is that different?
- fanf2 10y agoIt isn't different. There's a conflict between using the collection as a whole map(foo, FrequentCustomers) and using a member foo(FrequentCustomer[0]) Perl has plural / singular inflection :-) map foo($_), @FrequentCustomer; foo($FrequentCustomer[0]);