Hi Michel, Indeed, the guideline clarifies! .excludingFirst() is better :)
- Daniel > On Dec 28, 2015, at 3:53 PM, Michel Fortin <[email protected]> wrote: > > Le 28 déc. 2015 à 17:27, Daniel Duan via swift-evolution > <[email protected]> a écrit : > >> .dropFirst() => .excludeFirst() >> >> What do y’all think? > > Following the new API guidelines, shouldn't the name be either > `droppingFirst` or `excludingFirst`? That would solve your problem, right? > Many things still need to be adapted to the new conventions. > > https://swift.org/documentation/api-design-guidelines.html#be-grammatical > > -- > Michel Fortin > https://michelf.ca > _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
