[swift-evolution] [Pitch] Introduce continue to switch statements
me at lmpessoa.com
Tue Jul 12 11:07:06 CDT 2016
I'd agree with Doug, completely out of scope. The only way I'd support
a goto statement was to jump to another switch case as in C#.
On 12 July 2016 at 12:49, Douglas Gregor via swift-evolution
<swift-evolution at swift.org> wrote:
> On Jul 12, 2016, at 8:47 AM, Erica Sadun via swift-evolution
> <swift-evolution at swift.org> wrote:
> On Jul 11, 2016, at 4:49 PM, Chris Lattner <clattner at apple.com> wrote:
> As for all of the other additive changes, I would strongly prefer you to
> *wait* on even proposing or discussing these things until after the Swift
> 3.0 evolution cycle is done. Not only is it distracting for the community,
> but the core team and many others won’t be be able to even read the thread
> or the responses, thus your discussion cycle will be lacking key input.
> On this topic, we specifically discussed this when labeled breaks were being
> designed, and when they were expanded to “do” in Swift 2. We specifically
> decided to allow break but not continue, because we didn’t want these
> control flow statements to be “another way to spell a loop”.
> So I can take it as a given that this is out of scope for Swift 3 too?
> No, *that* is out of scope for *Swift*.
> - Doug
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution