DMD 0.163 release

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Wed Jul 19 16:58:52 PDT 2006


Nice update!

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
> 

But would that require adding them as keywords? I mean, since the "as" 
(or whichever) appears in a specific and separate context, just as the 
"exit", "success" and "failure" of the scope statement, which are not 
keywords?

> 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.


-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-announce mailing list