The Case Against Autodecode

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat May 28 12:04:14 PDT 2016


On 5/28/2016 5:04 AM, Andrei Alexandrescu wrote:
> So it harkens back to the original mistake: strings should NOT be arrays with
> the respective primitives.

An array of code units provides consistency, predictability, flexibility, and 
performance. It's a solid base upon which the programmer can build what he needs 
as required.

A string class does not do that (from the article: "I admit the correct answer 
is not always clear").


More information about the Digitalmars-d mailing list