4 ms·
> Global Variables Are Not the Problem It should have been "Mutability is the Problem, Globalness is not".
by cies 2y ago
> Global Variables Are Not the Problem
It should have been "Mutability is the Problem, Globalness is not".
- levodelellis 2y agoI'm the author. No, I completely disagree. No one ever complains about logs and malloc except having too much of them - A line I removed from this article The next article has examples and IMO much better, but makes no mention of action at a distance, and currently makes no mention of how people use clone to prevent mutability.
- cies 2y agoI dont understand how your comment relates to my comment, beyond that you disagree.
- levodelellis 2y agoI like mutation in global variables. I don't think it's the problem. I'm explaining it in my next article