3 ms·
It's like using Unix more than using an IDE. The globals dictionary and class variables etc are roughly analogous to the filesystem. Ordinary avoidance of unnec
by tonyg 8y ago
It's like using Unix more than using an IDE. The globals dictionary and class variables etc are roughly analogous to the filesystem. Ordinary avoidance of unnecessary global state / global variables does the trick. Just as in Unix you wouldn't go around messing with e.g. stuff in /lib, you don't tend to find yourself messing with "mutating the whole world" unless you're experimenting with the limits of the system for fun or doing something weird, metaprogramish, or systems-level.