Permitted locations of a version condition

Stewart Gordon smjg_1998 at yahoo.com
Fri Oct 30 08:55:30 PDT 2009


Rainer Deyke wrote:
<snip>
> What makes this case particularly bad is that Walter deliberate chose to
> limit the power of the 'version' construct in order to prevent overly
> complex read-only code.

Actually, AIUI it's just one of many things he did to eliminate the 
syntactic fragility that C++ has a lot of, thereby making code 
manipulation tools work better.

http://www.digitalmars.com/d/1.0/overview.html
"It's time to step back, look at what the preprocessor is used for, and 
design support for those capabilities directly into the language."

Naturally, putting these capabilities into the language has to be done 
one step at a time.

Stewart.



More information about the Digitalmars-d mailing list