python STL?
rm
rm at rm.net
Sat Nov 15 03:44:31 EST 2003
Cy Edmunds wrote:
>
> The STL (now part of the standard library) does with considerable
> complexity* that which Python does very simply. That's because C++ templates
> attempt to do generic programming without breaking the type system. Python
> has no type system to break so generic program comes naturally.
>
C++ is statically typed, so to keep the strong typing and at the same
type allowing code to be generic, templates were added.
Python is dynamically typed, so one doesn't need extra language
constructs to make things generic.
bye,
rm
More information about the Python-list
mailing list