And don't forget:
if(a)
if(b)
x;
else
y;
This doesn't do what the indentation implies. (http://en.wikipedia.org/wiki/Dangling_else)Walter Bright (creator of D, etc.) has an article where he discusses his interesting choice to make that grammar form illegal in D. He mentions that after doing this he found a bug in D's runtime library. http://www.drdobbs.com/cpp/dangling-else-yet-again/231602010