[swift-evolution] Making `.self` After `Type` Optional

Adrian Zubarev adrian.zubarev at devandartist.com
Fri May 6 05:34:20 CDT 2016


Great I missed that change. Im fine with that change. :) I'd be happy to see `.self` being removed as well.

--  
Adrian Zubarev  

Am 6. Mai 2016 um 09:25:01, Pyry Jahkola (pyry.jahkola at iki.fi(mailto:pyry.jahkola at iki.fi)) schrieb:

>  
>  
> > On 06 May 2016, at 10:19, Adrian Zubarev via swift-evolution <swift-evolution at swift.org(mailto:swift-evolution at swift.org)> wrote:  
> > Wouldn’t this enforce enum cases and some static struct variables to be lowercase?  
> >  
> > Is this really a welcome change? I mean I’d love to see the drop of `.self` magic from types, but not sure about the UppercaseTypes, lowercaseValue convention here.  
> Lowercase enum cases and static struct variables is already the case in Swift 3. Look up “Lowercase enum cases and static properties” in the accepted SE-0006(https://github.com/apple/swift-evolution/blob/master/proposals/0006-apply-api-guidelines-to-the-standard-library.md) proposal.  
>  
> — Pyry  
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160506/503a1a08/attachment.html>


More information about the swift-evolution mailing list