[swift-evolution] SE-0025: Scoped Access Level, next steps
panajev at gmail.com
Thu Mar 24 02:11:48 CDT 2016
Agreed, seems like a good way to go.
[[iOS messageWithContent:webContent] broadcast]
> On 24 Mar 2016, at 07:04, David Hart via swift-evolution <swift-evolution at swift.org> wrote:
> I like it very much.
>> On 24 Mar 2016, at 06:13, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>> How about we continue this trend, and follow other existing Swift keywords that merge two lowercase words (associatedtype, typealias, etc), and use:
>> The advantages, as I see them are:
>> 1) We keep public and private meaning the “right” and “obvious” things.
>> 2) The declmodifiers “read” correctly.
>> 3) The unusual ones (moduleprivate and fileprivate) don’t use the awkward parenthesized keyword approach.
>> 4) The unusual ones would be “googable”.
>> 5) Support for named submodules could be “dropped in” by putting the submodule name/path in parens: private(foo.bar.baz) or moduleprivate(foo.bar). Putting an identifier in the parens is much more natural than putting keywords in parens.
>> What do you all think?
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution