> On 4/22/11 4:04 PM, Timon Gehr wrote:
> [snip]
>> This is also the reason I think it is a bad idea to deprecate D's
>> 'delete'.
>
> The functionality is not going away.
>
> Andrei

Yes I realize that. It is a matter of syntax and aesthetics. Handling allocation
and deallocation non-uniformly renders the language ugly (or are you considering
to remove the 'new' keyword too?). And it discourages people to get informed 
about
custom allocators etc. I mean, how will custom allocators look like? The cost of
having the delete keyword in the language is low. Before removing that, why not
consider the 'body' keyword instead?

Timon

Reply via email to