The Industry choice

Peter Dembinski pdemb at illx.org
Sun Jan 2 06:30:17 EST 2005


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:

[...]

> I don't understand that.  If I see "str x = str(3)", then I know
> that x is a string.

def foo(x):
    return str(x)

str = foo(x)

And now, let's say that foo()'s definition is in another module.
It is hard for a programmer to quickly determine the type for str,
that's the problem with programming in languages that don't have
type declarations.



More information about the Python-list mailing list