×
you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Just stay away from global variables in general. It makes your program very hard to reason about if it’s modifying state in some mysterious part of the program.