Python 1.6 The balanced language
Suchandra Thapa
ssthapa at harper.uchicago.edu
Sat Sep 2 15:17:58 EDT 2000
Manuel Gutierrez Algaba <thor at localhost.localdomain> wrote:
>On 31 Aug 2000 Neel Krishnaswami <neelk at brick.cswv.com> wrote:
>>
>>No, the distinguishing features of OO are that a) subtyping exists,
>>and b) the types of objects are used to do dynamic dispatch.
>
>If you think about it. python is rather "functional" (typeless)
Functional languages are usually defined by the lack of state in
the code. In other words, you can not or are heavily discouraged from
modifying the values of variables. However, the most widely used
functional languages (Haskell and ML) have very strong type systems and
are more demanding about types than languages like c/c++ and java. For
example in ML, every statement has a type and each branch of an if/else caluse
needs to have the same type.
More information about the Python-list
mailing list