Manual memory management in D2

Vladimir Panteleev vladimir at thecybershadow.net
Sun Jul 11 21:24:46 PDT 2010


On Mon, 12 Jul 2010 00:00:46 +0300, bearophile <bearophileHUGS at lycos.com>  
wrote:

> A std lib function is not set in stone, later it can be improved,  
> modified, etc.

But the same could be said about any language feature! Deprecating the  
delete statement, and increasing the verbosity of the code for the sake of  
customizability appears absurd to me. Why not move the implementation of  
the delete statement to the standard library (if it's not there already)  
and get it to do the same as the fancy new clear() thing?

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list