why ; ?
    Nick Sabalausky 
    a at a.a
       
    Wed May  7 22:03:04 PDT 2008
    
    
  
"Janice Caron" <caron800 at googlemail.com> wrote in message 
news:mailman.550.1210220618.2351.digitalmars-d at puremagic.com...
> Besides which, how would that work with statements like
>
>    if (a == b) { ++i; ++j } else { --i; --j }
>
> If newlines were to take over the role of semicolons, then that would turn 
> into
>
>    if (a == b) { ++i
>    ++j } else { --i
>    --j }
Not that I'm advocating any "non-compulsory semicolon" syntax, but couldn't 
the first one work fine by saying "Newline and semicolon are BOTH 
interpreted as end-of-statement"? (aside from the issue of "with or without 
a continue-on-next-line symbol"). Or am I just taking the discusion in a 
circle? 
    
    
More information about the Digitalmars-d
mailing list