[swift-evolution] [Review] SE-0101: Rename sizeof and related functions to comply with API Guidelines

Stephen Canon scanon at apple.com
Fri Jul 1 07:05:11 CDT 2016


On Jun 30, 2016, at 9:12 PM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:

> I don't believe that “stride” *is* the accepted term of art for this
> meaning.  I never heard of the idea of types having an intrinsic
> “stride” until I arrived on the Swift project.  That usage came from
> “strideof.”  
> 
> If you all swear up and down that you've been talking about “the stride
> of a type” for more than 2 years, I won't fight you on this.
> Otherwise... well, I still won't fight; I'm being crushed by an
> avalanche of bikesheds and I can't muster the energy ;->... but I'll
> forever be plagued by doubts about the name.

FWIW, speaking as someone with zero inside-baseball knowledge of Swift but a lot of low-level experience when I first encountered `strideof`, I thought its purpose was immediately obvious, and that it was (and is) a good name.

– Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/1ef0d683/attachment.html>


More information about the swift-evolution mailing list