A look at the D programming language by Ferdynand Górski
Phil Lavoie
maidenphil at hotmail.com
Mon Jan 7 13:57:17 PST 2013
On Monday, 7 January 2013 at 21:49:12 UTC, Phil Lavoie wrote:
> Cool article.
>
> Most of my favorite features are just skipped but hey, you
> can't cover everything in an overview! Plus, every new article
> describing D's is important.
>
> What's he saying about "delete" being deprecated? Is that true?
> Are we talking about that delete:
>
> class {
> new( size_t size ) { ... }
> delete( void * v ) { ... }
>
> }
>
> Or the global one he uses? Personally, I would like the delete
> operator to continue to exist, just to explicitly delete
> objects when needed (although scope objects works fine in most
> cases).
>
> Phil
I meant scope objects work fine in most cases, but sometimes its
good to explicitly delete objects on the heap.
More information about the Digitalmars-d-announce
mailing list