You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am completely new to programming and was wondering if someone could clarify local versus global declaration for me. Everything I have researched has stated to avoid global if possible, but my data structure professor says to avoid local. I know each has its limitations, but I am under the impression that global causes more harm than good. Can someone please clarify this for me? thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am completely new to programming and was wondering if someone could clarify local versus global declaration for me. Everything I have researched has stated to avoid global if possible, but my data structure professor says to avoid local. I know each has its limitations, but I am under the impression that global causes more harm than good. Can someone please clarify this for me? thanks.
Beta Was this translation helpful? Give feedback.
All reactions