My notes on global variables
ferdyslab.com/post/2026-04...
Hello, Today, I’ll be writing notes on the importance of using global variables sparingly. What I will be explaining here will be about Godot, specifically using GDScript. To cut to the chase, here’s an explanation of the advantages, disadvantages, why problems with using global variables happen and what potential solutions you can use to fix them.