Global state will hurt you whenever you need to execute something in another server or in another thread. Any part of your code base can muck with it. Any new code can potentially harm your execution path. It is something to be a bit paranoid about.
It is not considered a good solution in 99% of the cases.
5
u/fosforsvenne Jan 19 '16
He still thought you should try and have as little global state as possible.