Python from Wise Guy's Viewpoint
Matthias Blume
find at my.address.elsewhere
Mon Oct 27 08:51:38 EST 2003
Ed Avis <ed at membled.com> writes:
> Pascal Costanza <costanza at web.de> writes:
>
> >>Should we then conclude that compile-time syntax checking is not
> >>worth having?
> >
> >No. Syntax errors make the program fail, regardless whether this is
> >checked at compile-time or at runtime.
> >
> >A type "error" detected at compile-time doesn't imply that the
> >program will fail.
>
> Actually it does, in a statically typed language.
Nitpick: Neither syntactic nor statically checked type errors make
programs fail. Instead, their presence simply implies the absence of a
program. No program, no program failing...
Matthias
More information about the Python-list
mailing list