PEP 285: Adding a bool type
Christian Tanzer
tanzer at swing.co.at
Wed Apr 10 05:26:54 EDT 2002
mlh at vier.idi.ntnu.no (Magnus Lie Hetland) wrote:
> In article <mailman.1018339899.2981.python-list at python.org>, Christian
> Tanzer wrote:
> [snip]
> >There are several dimensions to typing, including:
> >
> >- static vs. dynamic
> >
> >- strong vs. weak
> >
> [snip]
> >
> >Another important point with typing is whether typing applies to
> >variables or to objects. In Python, objects are (strongly) typed, not
> >variables. Thinking `variable` when considering typing (or objects in
> >general) will not work very well in Python.
>
> Hm. I thought this was what dynamic typing was all about, i.e. having
> typed values but untyped variables/parameters (which means that
> variable types need not be determined statically, at compile time)...
> What am I missing here?
Should I have said `In other words...` instead of `Another important
point with typing...`?
--
Christian Tanzer tanzer at swing.co.at
Glasauergasse 32 Tel: +43 1 876 62 36
A-1130 Vienna, Austria Fax: +43 1 877 66 92
More information about the Python-list
mailing list