[swift-evolution] Modernize Switch/Case Statements?
Thorsten Seitz
tseitz42 at icloud.com
Fri Jan 29 00:32:37 CST 2016
-1 as this is too much visual clutter IMO.
-Thorsten
> Am 28.01.2016 um 02:35 schrieb Joseph Essin via swift-evolution <swift-evolution at swift.org>:
>
> As a budding iOS developer, I thought it might be nice if Swift were to further improve on C's switch statement by using curly brackets to denote a block instead of a colon. It seems like this would be more consistent with the language at large and make indention more intuitive.
>
> Here's a quick example of what it might be.
>
> switch value {
> case expression {
> }
> }
>
> I apologize if this message isn't in the right format--I've not used a mailing list before.
>
> Joseph Essin
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160129/d3b0f447/attachment.html>
More information about the swift-evolution
mailing list