lambda closure question

Paul Rubin http
Mon Feb 21 09:39:11 EST 2005


"Diez B. Roggisch" <deetsNOSPAM at web.de> writes:
> It's not only that way in python, but in java too. So it seems that there is
> a fundamental principle behind it: In a language that allows sideeffects,
> these will actually happen.

Can you even have nested functions in Java?  Algol-60 did things the
way you'd expect, i.e. you can modify the outer variable from the
inner scope.



More information about the Python-list mailing list