<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 6:51 PM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu" target="_blank">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Tue, 3 Feb 2015, Marcus Denker wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
      On 03 Feb 2015, at 09:17, Marcus Denker &lt;<a href="mailto:marcus.denker@inria.fr" target="_blank">marcus.denker@inria.fr</a>&gt; wrote:<br>
<br>
<br>
      On 02 Feb 2015, at 21:47, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt; wrote:<br>
<br>
Hi All,<br>
    code as in the double bars forming the end of block arguments and the beginning of block temporaries in<br>
<br>
<br>
This is fixed in Pharo4 (I think we did that in Pharo3 already):<br>
<br>
I should search the issue in the issue tracker… it seems to be Pharo4, so just 1296 closed issues to check there…<br>
I will search for it.<br>
<br>
Another question: In the code I saw. ReadOnlyVariableBinding. I removed that in Pharo relatively early as it was not used:<br>
half of the classes were stored that binding (old ones) all newer ones where just associations.<br>
The code to make a binding &quot;read only&quot; was never called.<br>
<br>
Is this now used in Squeak? Is it worth the complexity?<br>
</blockquote>
<br></div></div>
Squeak doesn&#39;t use ReadOnlyVariableBinding anymore. The bindings of classes are instances of the ClassBinding class.<br>
Without using separate class it&#39;s a bit cumbersome (and less OO) to decide if an assignment to a global variable should be allowed or not. E.g.:<br>
<br>
        Foo := 1.<br>
<br>
should work if Foo is a global, but not a behavior. It should raise an error if it&#39;s a behavior.<br>
<br></blockquote><div><br></div><div>I thought this is how ReadOnlyVariableBinding was supposed to be used: classes would use it, globals not.</div><div><br></div><div>   Marcus</div><div><br></div><div><br></div><div><br></div></div>
</div></div>