<br><br><div class="gmail_quote">On Sat, Feb 7, 2009 at 10:46 AM, Matthias Felleisen <span dir="ltr">&lt;<a href="mailto:matthias@ccs.neu.edu">matthias@ccs.neu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
<br><div><div class="Ih2E3d"><div>On Feb 7, 2009, at 1:38 PM, YC wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: &#39;Lucida Grande&#39;; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">I am learning to use just plain modules and structs to achieve the organization effect these days.&nbsp; Module provides encapsulation.&nbsp;</span></blockquote>
<div><br></div></div><div>See my ECOOP talk.&nbsp;</div><div class="Ih2E3d"><div></div></div></div></div></blockquote><div><br>A lot of gems in the talk - I need to digest it more fully - thanks! <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 style=""><div><div class="Ih2E3d"><div><br></div><br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: &#39;Lucida Grande&#39;; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"> And struct provides basic inheritance, so what&#39;s missing is polymorphism, but that&#39;s possible to achieve if the struct themselves carry the functions that they need to call. Also I miss the destructor and explicit finalize.&nbsp; Those comes in very handy for external resource management.</span></blockquote>
<div><br></div></div><div>GC.&nbsp;</div><div class="Ih2E3d"></div></div></div></blockquote><div><br><br></div>I am probably missing the point here, but I think GC doesn&#39;t help with closing file handles or database connections (at least *safely*), no?&nbsp; <br>
</div><br>Thanks,<br>yc<br><br>