<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Ugly is the only valid criticism of<br>
<br>
WriteStream on: ''<br>
<br>
in Squeak, which I thought was the issue originally. Using a
non-empty literal is, of course, asking for trouble. And if some
code is becoming arguments passed to it from the outside, I think
the problem may well lie with the receiver rather than the sender.<br>
<br>
Cheers,<br>
Bob<br>
<br>
</font>
<div class="moz-cite-prefix">On 2/24/13 1:25 AM, tim Rowledge wrote:<br>
</div>
<blockquote
cite="mid:DA688288-0BE4-4224-ACD6-1046F54A4C0E@rowledge.org"
type="cite">
<pre wrap="">
On 23-02-2013, at 5:34 PM, Eliot Miranda <a class="moz-txt-link-rfc2396E" href="mailto:eliot.miranda@gmail.com"><eliot.miranda@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Sat, Feb 23, 2013 at 4:08 PM, Bob Arning <a class="moz-txt-link-rfc2396E" href="mailto:arning315@comcast.net"><arning315@comcast.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I tried it and did not see a problem. That is an empty string, isn't it?
</pre>
</blockquote>
<pre wrap="">
Yes, and you're getting away with it because the WriteStream
implementation doesn't use become: to grow strings. But back in the
day it did and would have resulted in a non-zero string.
</pre>
</blockquote>
<pre wrap="">
If Eliot's explanation doesn't convince you, just consider how ugly an expression it is. Let's have "WriteStream onNewString". Much more readable. Clearly expressed intent.
tim
--
tim Rowledge; <a class="moz-txt-link-abbreviated" href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a class="moz-txt-link-freetext" href="http://www.rowledge.org/tim">http://www.rowledge.org/tim</a>
"bOtHeR" said Pooh, mistaking the LSD tablet for aspirin
</pre>
</blockquote>
<br>
</body>
</html>