Re:How I Animate 3Blue1Brown
by rzzzt on Saturday October 12, 2024 @04:53PM
(#41822463)
Python has nested functions which does allow access to the nest...er function's variables. The rest does conform to expectations, you get to use parameters, locally declared variables and globals.
[ Parent
| on HN ]
I'm not too familiar with Python, but isn't that just lexical scope, the same as most languages that support nested functions? Starting with the lambda calculus and all the languages it influenced, including even JavaScript.