Optional braces

Walter Bright newshound2 at digitalmars.com
Wed Aug 24 09:23:04 PDT 2011


On 8/23/2011 3:32 PM, Andrei Alexandrescu wrote:
> Yah, disallowing complete and nested if/else pairs would be an annoyance (I'm
> not sure how big). Otherwise, Walter's idea sounds good to me. Walter, would you
> be okay with accepting if-if-else-else (at any depth) as a correct case and
> otherwise disable nested incomplete ifs?

I don't see much value in that.



More information about the Digitalmars-d mailing list