<html><head></head><body bgcolor="#FFFFFF"><div>What is the value of 17? Or of 'foo' ? We thought it made sense that the value of 17 is 17.</div><div>That way you can write:  max: x = ( > x ifTrue: self IfFalse: x )</div><div>without square brackets. The value method gets inlined out, anyway.</div><div>After all, 17 knows it's not a block.<br><br>- David (from iPad, typos likely)</div><div><br>On Dec 22, 2011, at 8:12 AM, Thorsten Dittmar <<a href="mailto:thormar@me.com">thormar@me.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>














<span style="display:none"> </span>



    <div id="ygrp-text">
      
      
      <p>Hello folks,<br>
<br>
I was always wondering why value and value with parameters was implemented in defaultBehavior and not in the trait block. Of course, that can make some stuff easier, but it looks a little bit like a dirty hack. Would be nice, if somebody can tell me a little bit the background of this implementation.<br>
<br>
thx<br>
<br>
</p>

    </div>
     

    





<!-- end group email -->

</div></blockquote></body></html>