[swift-evolution] private & fileprivate

Adrian Zubarev adrian.zubarev at devandartist.com
Fri Oct 7 10:17:13 CDT 2016


Even if these access modifier names seem to make sense, I don’t really see the need of the reconsideration here.

private(scope)  == private
private(file)   == fileprivate
private(module) == internal
Lhs does add more noise, and if I had to tell, fileprivate actually reads well and better than private(file).

Which problem isn’t solved here yet? I might be blind and don’t read between the lines.



-- 
Adrian Zubarev
Sent with Airmail

Am 7. Oktober 2016 um 16:03:07, Adriano Ferreira via swift-evolution (swift-evolution at swift.org) schrieb:

+1

I would also rather have:

private(scope)
private(file)
private(module)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161007/f5d67afb/attachment.html>


More information about the swift-evolution mailing list