- #1
jack476
- 328
- 125
When I was taking my introduction to C class, our professor heavily stressed that we were supposed to use local variables except when indicated otherwise. When we used C for microcontrollers with the same professor, he had the same requirement.
Does this reflect a standard among computer programmers, that local variables are preferred over global in terms of how the quality of a program is judged?
Does this reflect a standard among computer programmers, that local variables are preferred over global in terms of how the quality of a program is judged?