Python from Wise Guy's Viewpoint

John Atwood jatwood at cvpjaws03.dhcp.cv.hp.com
Fri Oct 24 20:37:38 EDT 2003


Pascal Costanza  <costanza at web.de> wrote:

>- when a test case gives me an exception, I can inspect the runtime 
>environment and analyze how far the test case got, what it already 
>successfully did, what is missing, and maybe even why it is missing. 
>With a statically typed language, I wouldn't be able to get that far.
>
>Furthermore, when I am still in the exceptional situation, I can change 
>variable settings, define a function on the fly, return some value from 
>a yet undefined method by hand to see if it can make the rest of the 
>code work, and so on.

That's because you're in an interpreted environemt, not because you're 
using a dynamically typed language.  Interpreters for statically typed 
languages allow the same.

John




More information about the Python-list mailing list