What I currently hate most about C++
Posted in C, Correctness, Cplusplus, Programming on June 19th, 2009 25 Comments »
Everyone knows that global variables are bad and should be avoided wherever possible. Why? Because each global variable is, in effect, an implicit argument to every function that can see the global variable. The same thing is true of any non-local state.
And the presence of non-local state means that you can’t reason locally about your [...]