4 ms·
Muggles think in dynamic scope: they accumulate facts or locations and then refer back to them. Local/lexical scoping is really a code structure/management/sca
by AtlasBarfed 4y ago
Muggles think in dynamic scope: they accumulate facts or locations and then refer back to them.
Local/lexical scoping is really a code structure/management/scaling thing. A name management system if you like.
As the joke goes, the two biggest problem in CS are naming and caching.
- messe 4y agoI always liked the variation that the two biggest problems in CS are naming, cache invalidation, and off by one errors.
- brundolf 4y agoThe problem is that Python doesn't make the explicit distinction between declaring a new (shadowed) variable, and assigning to an existing variable from an outer scope