static class variable vs. global variable
I believe I understand most of the negative impact that global variables have on a program. One major issue is their negative effect on your program's performance.
I am at a point in my program where I don't see a way around having a private static variable in my class. However, I am concerned on how this will effect my programs speed.
Isn't a static class variable, in a sense, a global variable?
Also, do static class variables (public or private) have the same negative performance effect on a program as a normal global variable?
Thanks in advance for your replies and knowledge!