<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="">I had been thinking “scope” might make sense. “scoped” might be even better. I like both of those better than “local” and “classified”.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 11, 2015, at 9:45 PM, Ilya <<a href="mailto:ilya@harmonicsense.com" class="">ilya@harmonicsense.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I think that "private" as it is already causes more confusion than "local". Another alternative I can think of is "scoped" or some variant of that. It would be nice to have a good unambiguous name for it. Right now I just hope that we can get it with *some* name. I'd be willing to do the work if it could help make it happen.<div class=""><br class=""></div><div class="">--</div><div class="">Ilya Belenkiy<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, Dec 9, 2015 at 1:07 PM John McCall <<a href="mailto:rjmccall@apple.com" class="">rjmccall@apple.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> On Dec 9, 2015, at 9:57 AM, Matthew Johnson <<a href="mailto:matthew@anandabits.com" target="_blank" class="">matthew@anandabits.com</a>> wrote:<br class="">
>> We should be disallowing access modifiers in function contexts anyway.<br class="">
><br class="">
> I didn't mean people would expect to use the access modifier in a function context, but it is common to refer to member variables as 'public', 'internal' or 'private' variables and it is common to refer to variables scoped to a function as local variables. There has never been any potential for confusion because there has never been a language I know of with a 'local' access modifier.<br class="">
><br class="">
> If we add one using this keyword I could imagine confusion between members declared with the 'local' access modifier and variables scoped to a function. The potential for confusion would be most prevalent in new developers, but I can also imagine casual conversations between experienced developers where such confusion might arise. It's something to consider when thinking about whether or not this would be the best keyword to use.<br class="">
<br class="">
That’s a very good point.<br class="">
<br class="">
John.</blockquote></div></div></div>
</div></blockquote></div><br class=""></div></body></html>