<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 7, 2017 at 5:47 PM, Matthew Johnson via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Setting aside source compatibility concerns for a brief moment, is there anyone who would choose this approach over reverting SE-0025, renaming the current modifier, or maintaining the current access modifiers?  If this is nobody’s first choice that should be a big cautionary sign.<br></div><div></div></blockquote></div><div><br></div><div>After migrating several codebases, I think the best for me would be moving in the direction explained in this proposal. For these reasons:</div><div><br></div><div>- In the migration to Swift 4, my team&#39;s code would work right away, without any changes at all (well, at least because of this proposal).</div><div><div>- When my team have the time to do it, we can replace all of our fileprivate usages for private ones, since we just use them to share properties between same-file extensions.</div></div><div><br></div><div>So at the end this proposal will impact my team very little at first, we will have less merge issues (hello Swift 3) and eventually the code will be, for us, cleaner and easier to read. All the other proposals will not give my team this smooth transition.</div><div><br></div><div>And, IMHO, I think that having access to really private details between two types probably leads to programmer errors, so my next preferred step after this one would be removing fileprivate altogether.</div><div><br></div><div>But I understand that Swift as a language must be gradually shaped.</div><div><br></div>-- </div><div class="gmail_extra">Víctor Pimentel<div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div style="font-size:12.8px"></div></div></div></div></div></div></div></div></div></div>
</div></div>