Created
May 8, 2025 21:09
-
-
Save victorclee/e34553b8b6991d38c98338189134cf8c to your computer and use it in GitHub Desktop.
Avoid modifying global variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modifying global variables is generally considered a bad programming practice. Just like programs with complex expressions, programs that modify global variables can be difficult to debug, understand, and maintain. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment