The more interesting question
deadalnix
deadalnix at gmail.com
Tue May 15 15:29:21 PDT 2012
Le 15/05/2012 20:34, Alex Rønne Petersen a écrit :
> Besides, this is probably not going to change anyway. We're focusing on
> stabilizing the language, not changing it.
>
This always have been a design mistake to auto cast array in pointers.
This is silent fallback to usafe world, and what we want to avoid.
This has no benefit because using .ptr isn't really complex and make the
transition obvious.
This has been raised many time in the past as being an issue, and it fit
nicely here.
Having \0 terminated string in D were it has no usage is quite dumb.
More information about the Digitalmars-d
mailing list