DMD 2.000 alpha release

BLS nanali at nospam-wanadoo.fr
Tue Jun 19 02:58:44 PDT 2007


Thank you for taking the time to explain. It would be nice if you can 
add  this information to the D homepage "Rationale section". I guess I 
am not the only one who needs this /lesson/ <g>
Thanks again, Bjoern

Walter Bright schrieb:
> BLS wrote:
>> 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*.
> 
> String literals have always been immutable. The string alias is just 
> that, an alias. You can still use char[] if you prefer, which would be 
> mutable strings.
> 
>> I hate that feature because it s nature is /pessimistic/ and says "Do 
>> not trust the programmer".
> 
> The motivating factor for const is that as program complexity increases, 
> being able to put more of the specification of an interface into the 
> code itself (rather than relying on the documentation) will increase the 
> reliability of the system.
> 
> The trust the programmer part in D comes from there being an escape from 
> the typing system (in the form of the cast).
> 
>> 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 ?
> 
> Java has no escape from its typing system.



More information about the Digitalmars-d-announce mailing list