> On 24 Mar 2016, at 15:32, Ross O'Brien via swift-evolution > <swift-evolution@swift.org> wrote: > > I agree that 'private' still feels too subjective on its own. It's > intuitively 'not public'; it's not intuitively the access term for > 'declaration only'. > > I'm not opposed to fileprivate and moduleprivate, if we like those terms. I'd > just prefer a corresponding scopeprivate or declarationprivate.
This is why I like the idea of declaring private(file), private(module) or private(type), as all are a form of privacy as none are available externally, but the parameter clarifies in what way they are limited internally, though private(type) could be the default if no parameter is given. _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution