Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thaumasiotes
· 2y ago · 0 comments
OK, where's the part of this where we're not modifying a global interpreter state?
Comments
[–]
tomstuart
2y ago
You’re taking the use of the word “state” too literally. The original comment was complaining about how Ruby `require` adds names (constants) to a global
namespace
; Python `import` only binds names in the local scope.
[–]
jeltz
2y ago
By that definition I would not say any language has modules. Even compiled ones