What are the worst parts of D?

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 4 18:09:55 PDT 2014


Am Thu, 25 Sep 2014 21:19:29 +0000
schrieb "Marc Schütz" <schuetzm at gmx.net>:

> I think it should just refuse to work on char[], wchar[] and 
> dchar[]. Instead, byCodeUnit, byCodePoint (which already exist) 
> would be required. This way, users would need to make a conscious 
> decision, and there would be no surprises and no negative 
> performance impact.

Hey, that was what I proposed for Rust over a year ago:
https://github.com/rust-lang/rust/issues/7043#issuecomment-19187984

-- 
Marco



More information about the Digitalmars-d mailing list