"It's better not to use global variables"—anyone who has created programs for work has probably said or heard something like ...