TDPL notes, part 2

retard re at tard.com.invalid
Thu Jul 15 07:10:03 PDT 2010


Thu, 15 Jul 2010 07:51:55 -0400, bearophile wrote:

> P 61: this is so hard to read that I don't want to see anything similar
> even in small script-like programs. The D compiler can even disallow
> such long chains: int c = (a = b, b = 7, 8);

I suppose this mostly explains why the real tuples aren't coming to D. 
Both of the authors love the C/C++ style comma operator for "code 
generation purposes" as you can see above. Another advantage is that your 
time won't be wasted when you switch from D to C++ to do some real world 
programming.


More information about the Digitalmars-d mailing list