D classes inherane. How it works.

Janice Caron caron800 at googlemail.com
Tue Apr 8 09:45:42 PDT 2008


On 08/04/2008, BCS <BCS at pathlink.com> wrote:
>  that only works in most cases where the object only owns memory resources.
> If it owns files, mutexes, database connections, stock options or Corvettes,
> your sunk.

Yeah, yeah - I know - but kov_serg is a beginner, so I figured, start
with the easy. Just get the hang of the marvellous thing that is the
garbage collector, and when the day comes when you say "Right then -
how do I close I file?", that's when you want to start needing to know
about destructors.



More information about the Digitalmars-d mailing list