Class Variable Question
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Sun Apr 15 05:30:10 EDT 2001
Tue, 10 Apr 2001 13:58:35 +0200, Alex Martelli <aleaxit at yahoo.com> pisze:
> It _could_, but it won't. If your unit-tests are anywhere close to
> 1/10th as large as they should be, they'll catch all your typos 'hey
> pronto'. If your unit-tests are even skimpier than that, your software
> is going to be so frail and weakly anyway that a few more uncaught
> typos aren't going to matter one way or another.
PyChecker has found typos in the Python distribution.
I conclude that Python hasn't been tested ehough - otherwise, as you
are saying, these typos would have been caught. Does it mean that
Python is so poorly written that a few more uncaught typos don't make
a difference?
> Your C++ compiler doesn't catch all the typos you can make where you
> type '+' while meaning to type '-', or '>' intending '<', etc, for
> example.
Of course. No language catches such typos.
It doesn't imply that catching detectable typos (e.g. using names
which are not defined) is worthless!
I'm seeing again this poor argument: some mechanism doesn't solve
all problems, so it's worse than having nothing...
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list