Python 1.6 The balanced language
aleaxit at yahoo.com
Fri Sep 1 23:38:18 CEST 2000
"Suchandra Thapa" <ssthapa at harper.uchicago.edu> wrote in message
news:slrn8qu0jh.uj.ssthapa at hepcat.uchicago.edu...
> Incidentally, what do you mean by dynamic dispatch? ML and its
> dialect OCaml are statically typed and the compiler chooses which function
> to call at compile time. Would you consider OCaml to be OO then? And
See http://caml.inria.fr/ocaml/htmlman/manual004.html for an
introduction to the object-oriented features of O'Caml. While the
static typing still holds, the behaviour over class methods is
polymorphic -- much as in Eiffel, C++, Sather, Java, and other
compile-time-typed OO languages, what version of a method is
actually called depends on the runtime type of the object instance
being used. Thus, dynamic dispatch, aka runtime dispatch.
More information about the Python-list