[Tutor] dictionary question
alan.gauld at freenet.co.uk
Sat Nov 12 00:50:16 CET 2005
> I should have known. sheesh python is so kewl. I keep forgetting most
> it will do stuff directly and you don't have to assign..
Whether thats 'kewl' depends on your viewpoint.
>From a pure computing point of view returning a value is more consistent
and correct in a functional programming sense, however its usually much
less efficient since temporary variables and copying are slow and
resource hungry, so direct action is preferred.
More information about the Tutor