The Case Against Autodecode

ag0aep6g via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 2 13:47:31 PDT 2016


On 06/02/2016 10:30 PM, Andrei Alexandrescu wrote:
> And want to return to the point where char[] is but an indiscriminated
> array, which would take std.algorithm back to the stone age. -- Andrei

I think you'd have to substantiate how that would be worse than 
auto-decoding.

Your examples only show that treating code points as characters falls 
apart at a higher level than treating code units as characters. But it 
still falls apart. Failing early is a quality.


More information about the Digitalmars-d mailing list