does lack of type declarations make Python unsafe?
Marek "Baczek" BaczyĆski
imbaczek at poczta.onet.pl
Sun Jun 15 17:45:55 EDT 2003
On 15 Jun 2003 13:28:06 -0700, beliavsky at aol.com wrote:
> It's good that the program crashes rather than returning a bad result,
> but a C++ or Fortran 95 compiler would flag the bad arguments during
> compilation, which I think is still better. Also, in a large script,
> the bad call to correl(x,y) could come after much CPU time had
> elapsed, potentially wasting a lot of programmer's time.
Your argument is good in theory, but IME such things are extremly rare to
happen in real life. Searching for a lost colon also takes a lot of time
*and* tends to happen more often.
More information about the Python-list
mailing list