Python from Wise Guy's Viewpoint

Pascal Costanza costanza at web.de
Thu Oct 23 11:03:17 EDT 2003


Remi Vanicat wrote:
> Pascal Costanza <costanza at web.de> writes:

>>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.
> 
> Not in ocaml.
> ocaml is statically typed.

How does ocaml make sure that you don't get a message-not-understood 
exception at runtime then?


Pascal

-- 
Pascal Costanza               University of Bonn
mailto:costanza at web.de        Institute of Computer Science III
http://www.pascalcostanza.de  Römerstr. 164, D-53117 Bonn (Germany)





More information about the Python-list mailing list