Python and generic programming
Steven Bethard
steven.bethard at gmail.com
Fri Oct 22 02:56:09 EDT 2004
Jeremy Bowers <jerf <at> jerf.org> writes:
> (This was one of the things that
> finally broke me of the strong typing inculcation I received in school;
> strong typing, considered as a scientific theory (something like "Large
> programs must be strongly typed, or they will cease working and
> maintenance will become impossible"), made claims about programs that
> proved to be wrong.
You probably meant "static typing" throughout this email when you said "strong
typing". Python *is* strongly typed -- you can tell the type of any object at
runtime. Python is not statically typed -- any name can be bound to any type
of object, so nothing is checked at "compile time".
Steve
More information about the Python-list
mailing list