On Tue, Mar 21, 2017 at 6:44 PM, Drew Crawford via swift-evolution < swift-evolution@swift.org> wrote:
> A core team member (I'm blanking on who) has pointed out that, in the end, > the only necessary access modifiers are public and not public (spelled > "internal" in Swift). > > > It is not clear to me how this squares with the decision in SE-0025 that > other access modifiers were necessary. Can you clarify? > I believe the reference is to this comment by Slava Pestov on 2017-02-16: While we’re bikeshedding, I’m going to add my two cents. Hold on to your > hat > because this might be controversial here. > > I think both ‘private’ and ‘fileprivate’ are unnecessary complications > that > only serve to clutter the language. > It would make a lot more sense to just have internal and public only. No > private, no fileprivate, no lineprivate, no protected. It’s all silly. https://www.mail-archive.com/swift-evolution@swift.org/msg21766.html
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution