Object arrays in D

CrudOMatic crudomatic at gmail.com
Wed Apr 11 00:47:57 PDT 2012


On Tuesday, 10 April 2012 at 18:28:39 UTC, Marco Leise wrote:
> Am Tue, 10 Apr 2012 07:35:31 -0400
> schrieb "Steven Schveighoffer" <schveiguy at yahoo.com>:
>
>> Destructors are strictly for cleaning up resources that 
>> *AREN'T* allocated  by the GC.  For example anything created 
>> with C's malloc, or an open file  descriptor, etc.
>
> This I think is a very good advice to beginners. Short and 
> precise. It is much more fun to use a new language when you can 
> also free your mind from some archaic concepts now and then :)

That's good to know. Just looking over more of the docs.



More information about the Digitalmars-d mailing list