You don’t really hate global state until you’ve had to
grepa million lines of code at three in the morning trying to find the one errant call that’s setting a static variable to the wrong value.
Bob Nystrom, Game Programming Patterns
You don’t really hate global state until you’ve had to
grepa million lines of code at three in the morning trying to find the one errant call that’s setting a static variable to the wrong value.
Bob Nystrom, Game Programming Patterns