suggested improvements to D

%u u at uuu.uuu
Tue Jan 9 15:13:17 PST 2007


== Quote from Warren D Smith (wds at math.temple.edu)'s article
> So your suggestion for this syntax is a good one:
> bod: {     // labeled compound statement
>    if(cond) break bod;
> }

Wrong. The keyword "break" only became a synonym for "goto"; the
inherent shortcomings of goto's are not solved this way. (Proof
left to the reader.)






More information about the Digitalmars-d mailing list