> On Nov 1, 2017, at 8:54 AM, Zach Wolfe via swift-evolution 
> <swift-evolution@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.

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to