Python from Wise Guy's Viewpoint

Marshall Spight mspight at dnai.com
Fri Oct 24 16:47:22 EDT 2003


"Pascal Costanza" <costanza at web.de> wrote in message news:bn8nhq$l04$1 at f1node01.rhrz.uni-bonn.de...
>
> In a statically typed language, when I write a test case that calls a
> specific method, I need to write at least one class that implements at
> least that method, otherwise the code won't compile.
>
> In a dynamically typed language I can concentrate on writing the test
> cases first and don't need to write dummy code to make some arbitrary
> static checker happy.

This is a non-issue. In both cases, you need the implementing code
if you want to be able to run the testcase, and you don't need the
implementing code if you don't.


Marshall






More information about the Python-list mailing list