by sugarfactory · 10y ago · 0 comments
In programming, changing a global state in order to achieve something is almost always a bad practice because it affects everywhere and sometimes in unpredictable ways. Instead of abusing global states, we invented object-oriented programming, which I consider as a way to keep states locally (inside objects).
So if someone wants to save daylight, that should be achieved locally for example by changing school schedules.