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

Pyry Jahkola pyry.jahkola at iki.fi
Fri May 6 02:25:01 CDT 2016

> On 06 May 2016, at 10:19, Adrian Zubarev via swift-evolution <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/5c1a47a3/attachment.html>

More information about the swift-evolution mailing list