[swift-evolution] [Review] SE-0169: Improve Interaction Between private Declarations and Extensions

Charles Srstka cocoadev at charlessoft.com
Thu Apr 6 20:25:24 CDT 2017


> On Apr 6, 2017, at 7:48 PM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> 
> On Thu, Apr 6, 2017 at 7:38 PM, Charles Srstka <cocoadev at charlessoft.com <mailto:cocoadev at charlessoft.com>> wrote:
>> On Apr 6, 2017, at 7:34 PM, Xiaodi Wu via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>> `private` works for extensions exactly how the authors of SE-0025 intended it to do. Your comments do not address what would happen for those people who are making use of this functionality currently to isolate methods to the extension only.
> 
> Who is currently doing that?
> 
> Presumably, proponents of SE-0025. That is, after all, an explicit part of that design, reviewed and approved by the Swift community and core team.

I’m more interested in practicality than appeals to authority. If no one is actually using extensions in this way, then we don’t need it.

Charles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170406/33086756/attachment.html>


More information about the swift-evolution mailing list