3 ms·
The paragraph on wrapping all of your global variables in a single static array nearly killed me. I've seen a global Dictionary<string,object> for that exact p
by Ntrails 10y ago
The paragraph on wrapping all of your global variables in a single static array nearly killed me. I've seen a global Dictionary<string,object> for that exact purpose, followed by the proud exclamation "I'm down to a single global variable".
This was in a brand new tool, the programmer was responding to increasing pressure from peers to remove global variables in code. Magic.