Offtopic: Python
Posted Aug 15, 2008 10:17 UTC (Fri) by
rwmj (guest, #5474)
In reply to:
Offtopic: Python by dmag
Parent article:
Chandler finally reaches a 1.0 release
I must assume that you ship your programs as soon as they compile. Because if you run your program (even just once) to see if your new code really works, then you can't complain because that's what the scripters have to do too.
The poster was referring to code paths which aren't exercised
in normal use. 'foo.bar()' is on some rarely used error path, and
it's not possible to completely test all paths through your
code. That's why the compiler ought to be picking up these errors
for you, rather than relying on very extensive yet incomplete
test suites. Not that having a test suite is a bad thing, but
no one can object to the compiler finding even more bugs, as early
as possible in development.
Speed (and resources) are usually proportional to the algorithm you use.
Yes, but Python also suffers from a
10-fold disadvantage in
speed and resource usage, even when the algorithms are identical.
Rich.
(
Log in to post comments)