<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 11:44 PM, Levente Uzonyi <span dir="ltr"><<a href="mailto:leves@elte.hu">leves@elte.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mon, 22 Nov 2010, Andreas Raab wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am I missing something? Why would one use<br>
<br>
foo perform: #lastVersion.<br>
<br>
instead of the obviously equivalent<br>
<br>
foo lastVersion.<br>
<br>
Seems like code obfuscation to me.<br>
</blockquote>
<br>
The method only exists in Metacello, so if you don't have it in your image the compiler will ask if you really want to use that selector. This may be annoying for some users.<br></blockquote><div><br></div><div>For me thats a clear case of code that needs a comment. Intention-revealling code is fine without comments, but the non-obvious needs documenting because otherwise someone may come along later and undo the change because they understandably don't intuit the non-obvious.</div>
<div><br></div><div>2˘</div><div>Eliot </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
Levente<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
- Andreas<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br>