top | item 42511560

(no title)

menotyou | 1 year 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.

discuss

order

No comments yet.