Python vs. C#
Christopher Barber
cbarber at curl.com
Wed Aug 13 18:40:12 EDT 2003
Andrew Bennetts <andrew-pythonlist at puzzling.org> writes:
> On Tue, Aug 12, 2003 at 02:03:58AM -0700, Brandon J. Van Every wrote:
> > Joe Cheng wrote:
> > And how, in a large scale industrial systems context, are you supposed to
> > ensure that Joe Programmer doesn't in fact screw it up?
>
> By writing tests.
>
> Just because C++, C# or Java code compiles cleanly doesn't mean it's
> correct.
> Just because Python code parses correctly and gives clean PyChecker output
> doesn't mean it's correct, either.
>
> In both cases, you need tests, preferably comprehensive, automated tests, to
> verify that your code actually works correctly.
I like the sentiment, but in practice there is no such thing as comprehensive
tests.
More information about the Python-list
mailing list