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

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Sat Feb 7 15:49:11 EST 2009

> > 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.

He's referring to *external* resources, not memory.  Look up "RAII",
which he mentioned earlier:

http://en.wikipedia.org/wiki/Resource_acquisition_is_initialization

It's basically a poor man's custodian.  Except it picks just the wrong
example (C++ objects w/ destructors) to make its point.

Shriram


Posted on the users mailing list.