[swift-evolution] [Review] SE-0159: Fix Private Access Levels
Vinnie Hesener
vhesener at gmail.com
Fri Mar 24 06:12:30 CDT 2017
I like the idea of changing some reserved words. Aren't 'private', 'friend,
'public', 'internal', etc just metaphors that were built on top of object
encapsulation (another metaphor)? I think we're starting to see the limits
of stretching metaphoric syntax.
Why can't we just start naming access modifiers literally: a location in
the code that they apply to. Examples such as "scope" or
"insidethecurlybraces" or "file" or "module" or "submodule" or "codebase".
Any of these or other synonyms would be much more Swifty in my opinion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170324/8a6af691/attachment.html>
More information about the swift-evolution
mailing list