I was reading up about static variables (i.e. class variables), static methods, class methods and the nuances of all of these. In languages like C++, static variables are generally strongly discouraged because of many IMO compelling reasons. I was just curious, if the Python community has a known position on static variables being discouraged. The Google Python Style Guide does not seem to have a pro/con position on static variables.
In Python language, are static variables discouraged (i.e. have bad code smell)?
The Google C++ Style Guide's statement "[static variables] cause hard-to-find bugs" certainly seems to ring true to not just C++ language but also Python language.