> On Apr 11, 2016, at 1:02 PM, Dave Abrahams via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> 
> on Mon Apr 11 2016, Stephen Canon <swift-evolution@swift.org> wrote:
> 
>> Joe’s isn’t saying that “Indexes” is more common, rather that it’s regular 
>> (i.e.
>> follows the usual declension rule for plurals); there’s tradeoffs each way, 
>> but
>> using the regular plural might make it more familiar for some non-native
>> speakers/readers.
> 
> Indexes also has the disadvantage of being a verb as well as a plural noun.

That thought did cross my mind, but I think the potential for verb/noun 
confusion seems pretty well handled by context. As a verb, "index" is most 
commonly transitive, so I'd expect 'foo.indexes' to be a property whose value 
produces indexes, and 'foo.indexes(...)', if it existed, to be some kind of 
predicate method.

-Joe
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to