[swift-evolution] [Pitch] consistent public access modifiers

Dave Abrahams dabrahams at apple.com
Thu Feb 9 01:40:09 CST 2017


on Wed Feb 08 2017, Xiaodi Wu <swift-evolution at swift.org> wrote:

> I agree very much with rationalizing access levels, but I'm not sure I like
> this proposal for public vs. closed. How would the compiler stop me from
> editing my own code if something is closed? The answer must be that it
> can't, so I can't see it as a co-equal to open but rather simply a
> statement of intention. 

IMO we are eventually going to need to have tools for analyzing ABI and
API breakage.  It's reasonable to think that such tools might be built
into the compiler.

-- 
-Dave



More information about the swift-evolution mailing list