[swift-evolution] continuations - "extensions on steroids" idea

Adam Kemp adam_kemp at apple.com
Wed Nov 1 11:31:54 CDT 2017

> On Nov 1, 2017, at 8:54 AM, Zach Wolfe via swift-evolution <swift-evolution at swift.org> wrote:
> I like what this idea attempts to do, but have you thought of simply allowing extensions of types within the same module to access private members and declare stored properties?

The advantage of the extra keyword is that it makes it opt-in, which means you can know by looking at the class whether there are other places that have access to your private methods/fields/etc.

More information about the swift-evolution mailing list