On Mon, 2 Jun 2003, Benjamin Goldberg wrote:

> All values needing timely destruction would inherit from a class
> RefCounted.

I like this concept a lot, but maybe we can take it a little further and
make it transparent to the programmer.  Suppose that the internals only
tracked objects that have a DESTROY method (or whatever it will be called
in Perl6)?  You get the same benefit without the additional brain-overhead
of manually indicating that the class needs to be tracked.

-Miko


Miko O'Sullivan
Programmer Analyst
Rescue Mission of Roanoke


Reply via email to