|
|
|
|
|
by menotyou
536 days ago
|
|
Before OOP became popular the usage of global variables was discouraged in procedural languages because it was the cause of many bugs and errors. In OOP global state variables were renamed to instance variables and are now widely used. The problem why it was discouraged beforehand did not went away by renaming but is now spread all over the place. |
|