[plt-scheme] Re: [plt-edu] Re: animation projects, video-game and not

From: YC (yinso.chen at gmail.com)
Date: Sat Feb 7 14:42:50 EST 2009

On Sat, Feb 7, 2009 at 10:46 AM, Matthias Felleisen <matthias at ccs.neu.edu>wrote:

>
> On Feb 7, 2009, at 1:38 PM, YC wrote:
>
> I am learning to use just plain modules and structs to achieve the
> organization effect these days.  Module provides encapsulation.
>
>
> See my ECOOP talk.
>

A lot of gems in the talk - I need to digest it more fully - thanks!

>
>
> And struct provides basic inheritance, so what's missing is polymorphism,
> but that's possible to achieve if the struct themselves carry the functions
> that they need to call. Also I miss the destructor and explicit finalize.
> Those comes in very handy for external resource management.
>
>
> GC.
>


I am probably missing the point here, but I think GC doesn't help with
closing file handles or database connections (at least *safely*), no?

Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090207/320f2598/attachment.html>

Posted on the users mailing list.