What are the worst parts of D?

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 26 07:46:11 PDT 2014


Sean Kelly:

> When I use algorithms on strings in D, I always cast them to 
> ubyte[].  Which is a poor solution.

In Phobos we have "representation", and "assumeUTF" that are 
better than naked casts. I use them only sparingly (and I avoid 
cast), despite I use strings often.

Bye,
bearophile


More information about the Digitalmars-d mailing list