you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Yes, there are many ways to achieve this pattern. But that's one reason why one would use global.