f*cking re module
gsakkis at rutgers.edu
Fri Jul 8 21:26:06 CEST 2005
"Mike Meyer" <mwm at mired.org> wrote:
> I only know one compiler that punts after the first error. Even with
> lots of cheap computing power, it's still very annoying.
> Come to think of it, Python does this, doesn't it? For some reason,
> that doesn't annoy me. Maybe because I don't think of it as a
> edit/compile/run cycle, but as an edit/run cycle, and I expect those
> stop after one errror.
Yes, the very short edit/run cycle is one reason. A second one is that
syntax errors are in general a pretty small percentage compared to
runtime errors (at least for anyone that has been using python for a
week or more), so even if the syntax checker did report all of them at
once it wouldn't make much difference in the overall debugging time.
Third, at least one editor (Komodo) reports syntax error on the fly as
you edit and this helps saving a few seconds now and then.
More information about the Python-list