why ; ?
Janice Caron
caron800 at googlemail.com
Thu May 8 05:00:22 PDT 2008
Z008/5/8 Gilles G. <schaouette at free.fr>:
> > As numerous examples have shown, it is perfectly
> > possible for the compiler to misinterpret the programmers intent, and
> > produce code that does completely the wrong thing.
> >
> In Python, nearly every time you need a long line, there are already parentheses in the expression, so you don't need to escape the new line.
So if I mistype, and accidently fail to match parenthesis, the
compiler can't detect it, and instead goes ploughing on, tying to
compile through the next few statements. When it finally reaches a
point where it can't parse any more, it will have no idea exactly
where it got lost in the first place.
More information about the Digitalmars-d
mailing list