<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
David Goehrig wrote:
<blockquote
 cite="mid:535227ab0906300337g2206df81g76fe8f2daa5633ec@mail.gmail.com"
 type="cite">On Tue, Jun 30, 2009 at 12:22 AM, Michael van der Gulik <span
 dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:mikevdg@gmail.com">mikevdg@gmail.com</a>&gt;</span>
wrote:<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
  </blockquote>
  </div>
  <div><br>
  </div>
  <div>I&nbsp;am&nbsp;implicitly&nbsp;stating&nbsp;that&nbsp;I&nbsp;expect&nbsp;anArbitraryObject&nbsp;will&nbsp;return&nbsp;a&nbsp;boolean&nbsp;when&nbsp;passed&nbsp;the&nbsp;message&nbsp;#someMethod.
&nbsp;This expectation has nothing to do with the implementation of
anArbitraryObject, or with the meaning of #someMethod, only in the
semantics of how it fits within the overall structure of the statement.</div>
  <div><br>
  </div>
  <div>Similarly if I were to say something like:</div>
  <div><br>
  </div>
  <div>&nbsp;&nbsp; &nbsp;( anArbitraryObject + 1 ) &lt; someLimit &nbsp;ifFalse:
anotherBlock</div>
</blockquote>
<br>
Taking &lt; as an example, what do you say about these two fragments of
semantically equivalent code?<br>
<br>
anArbitraryObject &lt; someLimit ifFalse: anotherBlock<br>
<br>
anArbitraryObject &gt;= someLimit ifTrue: anotherBlock<br>
<br>
<br>
In the first case, anotherBlock is evaluated, and in the second it is
not.&nbsp; Making #doesNotUnderstand: return false cannot possibly "do what
you expect" because it will behave differently depending on how you
phrase your expectation.&nbsp; Check, and mate?&nbsp; :-)<br>
<br>
<br>
Cheers,<br>
Josh<br>
<br>
</body>
</html>