DMD 2.000 alpha release
BLS
nanali at nospam-wanadoo.fr
Mon Jun 18 10:39:06 PDT 2007
Seems to me that D is going into the wrong direction.
Are you really sure that strings should be inmutable by default?
Not in my world. In my world an invariant string is the *Exeption*.
I hate that feature because it s nature is /pessimistic/ and says "Do
not trust the programmer".
So please tell me what do we have to expect from D 2 ?
More CPP like programming refined with syntactic sugar,or something that
makes D comparable to Java s useablility ?
Bjoern
Walter Bright schrieb:
> This is an alpha release to try out the const/final/invariant stuff.
>
> The current definition of string is:
>
> alias const(char)[] string;
>
> Andrei has argued strongly to make it invariant. I think he's probably
> right, and that change might happen next.
>
> The documentation isn't thorough, I don't want to spend too much time on
> it until I'm sure we've got the design right.
>
> Treat this as an alpha release. Although it passes its test suite, I'm
> sure there are plenty of bugs remaining. Phobos also has not been
> thoroughly gone through to put const/final in all the right places.
>
> See http://www.digitalmars.com/d/final-const-invariant.html
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.2.000.zip
>
> Expect changes to this. Much more to come! For stability, I recommend
> sticking with the 1.0 series, which I will maintain with bug fixes.
More information about the Digitalmars-d-announce
mailing list