Dealing with Autodecode

poliklosio via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 1 03:31:02 PDT 2016


On Wednesday, 1 June 2016 at 05:46:29 UTC, Kirill Kryukov wrote:
> On Wednesday, 1 June 2016 at 01:36:43 UTC, Adam D. Ruppe wrote:
>> D USERS **WANT** BREAKING CHANGES THAT INCREASE OVERALL CODE 
>> QUALITY WITH A SIMPLE MIGRATION PATH!!!!!!!!!!!!!!!!!!!!
>
> This.
> (...)
> I don't want to become an expert in avoiding language pitfalls 
> (The reason I abandoned C++ years ago).

+1
If you have too many pitfalls in the language, its not easier to 
learn than C++, just different (regardless of the maximum 
productivity you have when using the language, that's another 
issue).
The worst case is you just want to use ASCII text and suddenly 
you have to spend weeks reading a ton of confusing stuff about 
Unicode, D and autodecoding, just to know how to use char[] 
correctly in D.
Compare that to how trivial it is to process ASCII text in, say, 
C++.
And processing just plain ASCII is a very common case, e.g. 
processing textual logs from tools.


More information about the Digitalmars-d mailing list