24.07.2013, 15:07
I only recently learned that they "static" variables don't loose their value between calls.
And i instantly thought: gates! They're just perfect for them! Becaus I hate having global variables for them...
But someone should have thought of that....
Getting to the question part,
are there downsides to them? Are they somehow worse than global ones? Should I or should I not use them?
ANY feedback will be appreciated
And i instantly thought: gates! They're just perfect for them! Becaus I hate having global variables for them...
But someone should have thought of that....
Getting to the question part,
are there downsides to them? Are they somehow worse than global ones? Should I or should I not use them?
ANY feedback will be appreciated
