The point is that OOP was introduced so people could continue coding with globals (i.e. states), where the globals now lives inside different namespaced containers instead the global container.
The effect is still the same though, your code is just the same old Rube Goldberg machine.
Comments
The point is that OOP was introduced so people could continue coding with globals (i.e. states), where the globals now lives inside different namespaced containers instead the global container.
The effect is still the same though, your code is just the same old Rube Goldberg machine.