Small Troll on notation of variables over time

Gabriel Genellina gagsl-py at yahoo.com.ar
Sat Aug 19 08:35:06 EDT 2006


At Saturday 19/8/2006 07:49, Hendrik van Rooyen wrote:

>Now how about introducing an index that works over time,
>such that s{0} (the default so as to not break any existing code)
>implies the current object bound to the name s,
>with s{1} being the previous one, and so on...

Doing that *always* for *all* names would be ridiculous - objects 
would never get garbage collected, by example. And 
99.99999999999999999999% of programs don't need that behavior at all.
So just implement that for your use case - if you have any!



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list