From: Daniel Sheppard Date: 2004-04-07T10:09:10+09:00 Subject: Re: deciding between ruby and python > Yes, why not? The scoping of objects is the same, and using > list indexing is not that bad a workaround when you need to > rebind an object. Another way would be to do While you may have created closure-like behaviour by using the array workaround, it is not a lexical closure. A lexical closure has access to the _variables_ in the environment, not the objects. ##################################################################################### This email has been scanned by MailMarshal, an email content filter. #####################################################################################