<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 15 mars 2016 à 09:07, Ilya Belenkiy via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class="">These names are very uniform, and the context is immediately clear, but they are very long. The 2 most commonly used (and spelled out) would be access(global) and access(scope), public and private are much shorter and are well established terms of art.<br class=""></div></blockquote><div><br class=""></div><div>An option which goes against Swift being as explicit as possible is to support abbreviated scope, in addition to the full name:</div><div><br class=""></div><div>access(g)</div><div>access(m)</div><div>access(f)</div><div>access(s)</div><div><br class=""></div><div>For the last one, it may be easier if it was access(local) and access(l).</div><div><br class=""></div><div>On first encounter, these gmfl may be a bit puzzling, but they should be no harder to remember than the rwx of Unix file accessibility.</div><div><br class=""></div><div>Dany</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Mar 15, 2016 at 8:54 AM Антон Жилин &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">My take at it:</div><div class=""><br class=""></div><div class="">access(global)</div><div class="">access(module) &nbsp;// default</div><div class="">access(file)</div><div class="">access(scope)</div><div class=""><br class=""></div><div class="">Very uniform. Argument to `access` is visibility scope</div></div></blockquote></div></div></blockquote></div><br class=""></body></html>