Re: Do garbage collected languages need destructors?
From: H. S. Lahman (h.lahman_at_verizon.net)
Date: 10/30/03
- Next message: Alfredo Novoa: "Re: OO's best feature survey results"
- Previous message: Alfredo Novoa: "Re: OO's best feature survey results"
- In reply to: Ulf Wendel: "Do garbage collected languages need destructors?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 00:02:36 GMT
Responding to Wendel...
> I need some input on a simple question:
> Do garbage collected languages need destructors?
No. There are <rather rare> situations where one needs to ensure
referential intergity when the life of an object /must/ be limited in
the execution time frame. In that case a destructor can be handly for
centralizing the dereferencing. However, it is not mandatory because
the developer can accomplish the same thing by removing references
wherever the life cycle constraint comes into play.
*************
There is nothing wrong with me that could
not be cured by a capful of Drano.
H. S. Lahman
hsl@pathfindermda.com
Pathfinder Solutions -- Put MDA to Work
http://www.pathfindersol.com
(888)-OOA-PATH
- Next message: Alfredo Novoa: "Re: OO's best feature survey results"
- Previous message: Alfredo Novoa: "Re: OO's best feature survey results"
- In reply to: Ulf Wendel: "Do garbage collected languages need destructors?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]