Static typing

Greg Ewing (using news.cis.dfn.de) g2h5dqi002 at sneakemail.com
Tue Jul 29 03:38:39 CEST 2003


Tayss wrote:
> Sort of like when someone asks you to move something to a different
> house, and you have no idea how big it is. If you were told, "It's
> just a pillow," you know that you don't need to order a huge truck or
> take any special precautions.

But in Python, you wouldn't have to move the object
itself to the new house, only a reference to it!

Of course, if it's a mutable pillow, it might not
be a good idea to have two people sleeping on it at
the same time, in which case you'd want to make a
copy.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list