[swift-evolution] access control
Brent Royal-Gordon
brent at architechies.com
Thu Jan 28 04:55:57 CST 2016
> Right now access control is file based and not API based. This is much easier to implement but useless to express that certain elements of a class are implementation details that are not meant to be used anywhere else (someone can add more code to the same file and get access to the implementation details without modifying the class). It’s also impossible to hide APIs that are meant only for customization points of subclasses.
I am strongly opposed to `local`. But frankly, I'm so sick of discussing it at this point that I think we should just go ahead and propose it. Everyone can write their reviews, the core team can make a decision, and whatever they decide, we can move on from this topic to more interesting things.
--
Brent Royal-Gordon
Architechies
More information about the swift-evolution
mailing list