[swift-evolution] Changing postfix "self" to something clearer like "type"

Drew Crawford drew at sealedabstract.com
Tue Dec 15 15:19:58 CST 2015


> On Dec 15, 2015, at 12:24 PM, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
> 
> (Alternately, "SomeType.staticType' not being the same as 'SomeType.dynamicType" seems weird.)

Why?

It is not strange to me at all that two different vars return two different things.  The names here seem especially clear--staticType being the type as inferred statically, while dynamicType being the runtime type.

+1 for staticType
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151215/11d31f58/attachment.html>


More information about the swift-evolution mailing list