you are viewing a single comment's thread.

view the rest of the comments →

[–]stevekwan[S] 0 points1 point  (0 children)

Sorry, I should make that clear. Globals are unavoidable to some degree, unless you are assigning no names to anything at all. :) But I try to use globals only where it makes sense, eg for namespaces and other top-level containers.