<br><br><div><span class="gmail_quote">On 2/19/07, <b class="gmail_sendername">Alan Lovejoy</b> <<a href="mailto:squeak-dev.sourcery@forum-mail.net">squeak-dev.sourcery@forum-mail.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div><div><br><span><font color="#0000ff" face="Arial" size="2">Ok, thanks for the explanation. I think I now understand your
problem.</font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">My suggestion: </font></span><span><font color="#0000ff" face="Arial" size="2">Namespaces should be constructed by message
sends, just like classes are constructed by message sends. The
instructions to create/modify namespaces should be encoded in a file out as "do
it" chunks--again, just like class definitions. This may not be the ideal
solution in the long run, but it's the only workable/acceptable solution
initially.</font></span></div></div></blockquote><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span><font color="#0000ff" face="Arial" size="2">
I
would avoid changing the canonical message sends that define classes if at all
possible. If necessary, send additional namespace-related messages to
classes in separate "do it" chunks.</font></span></div></div></blockquote><div><br><br>
It certainly isn't the /only/ workable/acceptable solution, and I'm not worried about backwards compatibility unless it's cheap.<br><br>But this is a good option. It has the advantage of being able to load code that uses Namespaces into a non-Namespace-able image.
<br></div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div><span><font color="#0000ff" face="Arial" size="2">Evolution almost always works a lot better than revolution.</font></span></div></div></blockquote><div><br>Evolution is the process of keeping the obfuscated mess that didn't die.
<br><br>Michael.<br></div><br></div><br>