What are the worst parts of D?

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 06:37:50 PDT 2014


Am Thu, 25 Sep 2014 11:08:23 +0000
schrieb "Don" <x at nospam.com>:

> They should be gone completely. So should built-in sort.
> I think there's something important that you haven't grasped yet. 
> It was something I didn't really appreciate before working here.
> 
>   ** Keeping deprecated features alive is expensive. **
> 
> As long as deprecated features still exist, they impose a cost. 
> Not just on the language maintainers, but also on the users. On 
> anyone writing a language parser - so for example on text 
> editors. On anyone training new employees.

This reminds me of a conversation on stackoverflow:
http://stackoverflow.com/a/25864699

>> However, note that the built-in .sort property/function is on its way
>> to being deprecated. Please use std.algorithm.sort instead, which
>> shouldn't have this issue.

> I was aiming for std.algorithm.sort, I didn't realize there is a
> built-in one...


More information about the Digitalmars-d mailing list