Nov-13-2017, 12:10 PM
globals usage is considered bad style for quite a few reasons.
See: http://wiki.c2.com/?GlobalVariablesAreBad
https://softwareengineering.stackexchang...te-so-evil
https://en.wikipedia.org/wiki/Side_effec...r_science)
I rarely (almost never) use them.
See: http://wiki.c2.com/?GlobalVariablesAreBad
https://softwareengineering.stackexchang...te-so-evil
https://en.wikipedia.org/wiki/Side_effec...r_science)
I rarely (almost never) use them.