[swift-evolution] class/struct inner member access scope classifier

Zach Waldowski zach at waldowski.me
Tue Sep 27 08:20:06 CDT 2016




On Tue, Sep 27, 2016, at 01:34 AM, Jeremy Pereira via swift-evolution
wrote:
> As for dropping file private, why? You don’t have to use it if you don’t
> want to, so it’s not hurting you. On the other hand, I can use it when I
> deem it to be the right thing to do. 

I'll politely disagree and point out you *must* use fileprivate in order
to get what it provides. It's unavoidable in that sense.

As the access control change has been implemented for what only can be
described in a number of weeks, it's disappointing that a feature I used
to great effect in prior versions of Swift has already been relegated to
"if you don't like the name, don't use it." 

Sincerely,
  Zachary Waldowski
  zach at waldowski.me


More information about the swift-evolution mailing list