Python vs .Net

Terry Reedy tjreedy at udel.edu
Wed Jan 8 15:46:58 CET 2003


"Brian Quinlan" <brian at sweetapp.com> wrote in message
news:mailman.1042002854.10321.python-list at python.org...
> VB was engaging in weak typing. Python is strongly typed. In Python
you
> can't get a string to act like an integer without an explicit cast.

To be exact, it's an explicit *conversion* to a new object, not a
recasting of the same object in a different role.  Except for
rebinding of __class__, where allowed, Python does not have 'casts' in
the C sense.

TJR






More information about the Python-list mailing list