[swift-evolution] [Pitch] Adding a Self type name shortcut for static member access
Erica Sadun
erica at ericasadun.com
Wed Apr 27 15:00:49 CDT 2016
> On Apr 27, 2016, at 1:51 PM, Thorsten Seitz via swift-evolution <swift-evolution at swift.org> wrote:
>
> So, you are probably right that Self does not make sense in value types.
I courteously disagree for the reasons stated in the proposal:
* Self introduces consistency across types
* It’s succinct and clear, enhancing readability
It may not be especially expressive in value types but I believe it remains valuable, which is a different question.
Regardless, I believe this proposal will be delayed until the question of `Type.self` vs `Type` is first ironed out as some of the design details are predicated on how that is treated.
best regards,
— E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160427/dfd43e93/attachment.html>
More information about the swift-evolution
mailing list