Subject: | Global vars is bad practice. |
Summary: | Package rating comment |
Messages: | 1 |
Author: | Alexey Freelancer |
Date: | 2012-04-16 19:19:25 |
|
|
|
Alexey Freelancer rated this package as follows:
Utility: | Sufficient |
Consistency: | Sufficient |
Documentation: | Good |
Examples: | Good |
|
Alexey Freelancer - 2012-04-16 19:19:25
Global vars is bad practice. From wikipedia: They are usually considered bad practice precisely because of their non-locality: a global variable can potentially be modified from anywhere (unless they reside in protected memory or are otherwise rendered read-only), and any part of the program may depend on it
|