in reply to Re^3: Closures and scope of lexicals
in thread Closures and scope of lexicals
That's more complicated to achieve in Python IMHO.
I think JS had a similar effect with var , that's why let was introduced
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Closures and scope of lexicals
by ikegami (Patriarch) on Oct 31, 2024 at 14:35 UTC | |
by LanX (Saint) on Oct 31, 2024 at 14:37 UTC | |
by ikegami (Patriarch) on Oct 31, 2024 at 14:39 UTC | |
by LanX (Saint) on Oct 31, 2024 at 14:42 UTC | |
by ikegami (Patriarch) on Oct 31, 2024 at 14:50 UTC | |
| |
Re^5: Closures and scope of lexicals
by ikegami (Patriarch) on Oct 31, 2024 at 14:38 UTC |