How does D improve design practices over C++?

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri Nov 7 12:27:25 PST 2008


Walter Bright wrote:
> Bill Baxter wrote:
>>  The main reason the preprocessor is evil is because it does
>> completely ignores scoping rules.
> 
> It's worse than that. The preprocessor is a completely separate and 
> distinct language from the rest of C++. They share nothing. The symbol 
> tables are distinct and inaccessible between them. The tokens are 
> different; even the rules for parsing expressions are different.
> 

And it makes IDE functionality much more difficult to implement... ;)


-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list