It is the year 2020: why should I use / learn D?

Nicholas Wilson iamthewilsonator at hotmail.com
Thu Nov 15 06:46:12 UTC 2018


On Wednesday, 14 November 2018 at 17:47:10 UTC, Basile B. wrote:
> On Wednesday, 14 November 2018 at 16:09:32 UTC, Eugene Wissner 
> wrote:
>> No, it wasn't the reason. Some algorithms cannot be 
>> implemented with ranges as efficient as with iterators.
>>
>> "In other words, by converting the is_word_boundary from 
>> iterators to D-style ranges, the algorithm goes from O(1) to 
>> O(N). From this we draw the following conclusion: D’s choice 
>> of algorithmic basis operations is inherently less efficient 
>> than C++’s."
>>
>> C++ iterators are more flexible.
>
> You meant D ?

No, more flexible and prone to contortion. More flexible, less 
useful.


More information about the Digitalmars-d mailing list