How does D improve design practices over C++?

Walter Bright newshound1 at digitalmars.com
Thu Nov 6 21:23:19 PST 2008


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.

They originally even were separate programs.



More information about the Digitalmars-d mailing list