<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dave,<div><br></div><div>This reminds me of a derivation of Self called "Ego" that makes</div><div>steps toward adding type checking to Self. If you haven't </div><div>already seen it, there is paper describing Ego here:</div><div><br></div><div><a href="http://www.cs.cmu.edu/~aldrich/papers/">http://www.cs.cmu.edu/~aldrich/papers/</a></div><div><br></div><div>Ron</div><div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>----------=-=-=-=-=-=-=-=-========oOo========-=-=-=-=-=-=-=-=----------<br>                  <a href="mailto:Ronald.P.Welch@baesystems.com">mailto:Ronald.P.Welch@baesystems.com</a><br>----------=-=-=-=-=-=-=-=-===================-=-=-=-=-=-=-=-=----------</div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 27, 2011, at 8:28 PM, David Goehrig wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">







<div style="background-color: #fff;">
<span style="display:none"> </span>



    <div id="ygrp-text"><p>In one of the Self papers it states that assignable parent slots can be useful. And then it is largely an ignored subject from then on. <br>
<br>
I've been ressurrecting this idea for a web framework which models core finite state machines by exploiting assignable parent slots to only expose methods sensible for that state. <br>
<br>
eg. A response object has no header:Value: after the headers have already been sent, and a closed socket has no read or write: or close methods, but does have an open:<br>
<br>
When I'm building these objects there is some default behavior that needs surpressing, specifically firing up the debugger when an unknown message send is encountered. This is heavily inspired by Randy's ARK unknown methods fall through. <br>
<br>
Where this has become critical is building large scale distributed applications with transparent proxies forwarding messages. Which may hit an object multiple times due to resend logic. <br>
<br>
Do any of the wise ones on the list know of any applications using these approaches?<br>
<br>
If not, why?<br>
<br>
-=-=- <a href="mailto:dave%40nexttolast.com">dave@nexttolast.com</a> -=-=-</p>

    </div>
     

    

</div>



<!-- end group email -->

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