why ; ?

terranium spam at here.lot
Thu May 8 10:09:54 PDT 2008


Nick Sabalausky Wrote:

> > to hard to find bugs:
> >
> >     if (a)
> >       s1;
> >     s2;
> >
> 
> I can't say I've ever found that to be a problem. But maybe that's just me.

Programmer, who got used to one language finds it difficult to switch to another language, because different languages require different styles of thinking. Thus for C programmer it's difficult to understand block statement without braces :) and for basic programmer it's difficult to delimit block statement with braces.



More information about the Digitalmars-d mailing list