|
|
|
|
|
by wyager
4163 days ago
|
|
>80+% of variables were declared as global This is actually important for safety-critical programming. It lessens the likelihood of running out of stack space, and it's useful for eliminating dynamic allocation. Some safety-critical software has 100% global variables, without even using a stack. |
|
This is not even counting all the variables declared with the wrong type or more than once, uninitialized variables, etc.