The Death of D. (Was Tango vs Phobos)

Jason House jason.james.house at gmail.com
Mon Aug 25 17:51:54 PDT 2008


Sean Kelly wrote:
 
> Another issue is more to do with code portability than with D2 itself.
> That is, the meaning of 'const' has changed between D1 and D2, with
> 'invariant' effectively replacing what 'const' was used for in D1.  This
> makes it impossible to create code that has the same meaning in both
> versions of the language.


What if D1 was augmented to allow the keyword invariant in those cases where
D2 has a conflicting meaning for const?  That wouldn't break any D1 code or
add any functionality.  I think it's a fair request.



More information about the Digitalmars-d mailing list