I feel like this is a really silly question, but I can’t seem to grasp the answer to the scope.
I understand the difference between global and local variables, and when they need to be local and not. But when should a function be declared as local and when should it not?