Optional braces

Ali Çehreli acehreli at yahoo.com
Mon Aug 22 14:30:59 PDT 2011


On Sun, 21 Aug 2011 20:32:05 +0200, Jacob Carlborg wrote:

> Yes, the else is for the second if-statement, not the first one. That's
> why I always use braces when I have nested if-statements, at least for
> the outer if-statement.

That rule is too complicated for me. :) My version is "I always use 
braces."

Ali


More information about the Digitalmars-d mailing list