More random python observations from a perl programmer

Paul Prescod paul at prescod.net
Fri Aug 20 11:21:25 EDT 1999


Tom Christiansen wrote:
> 
> ...
>
> GOTCHA: (low)
>     When you need to make an empty copy of the same type, you write
>         x = y[:0]
>     So much for being typeless. Sigh.

I don't think that Python is a typeless language. There is no such thing
as a typeless language: some languages have a single type but they have
at least one type.

Python is a dynamically typed language, just as Perl is. In some cases
it is less "in your face" about types, but it is still a typed language.

 Paul Prescod




More information about the Python-list mailing list