This is a pretty fundamental goal in programming and should be followed whenever possible. Here we identify how to avoid having globals.