DMD 0.163 release

clayasaurus clayasaurus at gmail.com
Tue Jul 18 17:10:22 PDT 2006


Walter Bright wrote:
> 
> http://www.digitalmars.com/d/changelog.html
> 
> This has all the new import changes in it. That breaks a lot of existing 
> code (like dmdscript), the fixes are simple (adding more import 
> declarations) but tedious.
> 
> I couldn't find a better keyword choice than "static import".
> 
> The renaming uses '=' instead of 'as', 'from', or 'alias' for the reasons:
> 
> 1) didn't want to add new keywords, especially ones like 'as' as I use 
> that as a variable name
> 
> 2) didn't need to add new keywords - adding them should be done only if 
> using punctuation is completely unappealing
> 
> 3) using '=' and ':' is visually more distinct than embedded keywords.

*Imports now default to private instead of public. Breaks existing code.*

Horray! :) This shouldn't break too much of my code because I already 
use 'private import' everywhere.

*Object.opCmp now throws an error. Should override it if used. Breaks 
existing code.*

Can someone spell this out for me? *confused*

*Added static imports, renamed imports, and selective importing.*

Can someone show me how this is supposed to work as well? *confused*


Thanks! Nice to see some positive changes.

~ Clay











More information about the Digitalmars-d-announce mailing list