<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 3, 2013 at 7:12 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>&gt;</span> wrote:<br>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><span class="Apple-style-span" style="color:rgb(34,34,34)">yeah.. but i would go even further: since you already sending a message, why</span><br>
</div></div>
not using a looked-up name as selector?<br>
&lt;obj&gt; Foo  -&gt; gives binding of &#39;Foo&#39; in environment.<br>
&lt;obj&gt; Foo: &lt;value&gt; -&gt; sets the new value.<br></blockquote><div><br></div><div>One of the goals with environments is to avoid syntactic or semantic changes to the language. All existing code should run as-is, and still benefit from the namespace isolation that we get from environments. Your idea above seems feasible for a new language, but it breaks compatibility.</div>
<div><br></div><div>So I&#39;ll take this as a vote in favour of Eliot&#39;s idea—message send rather than direct access, but preserving the existing syntax and semantics of Smalltalk. </div><div><br></div><div>Thanks!</div>
<div><br></div><div><br></div><div>Colin</div></div></div></div>