2 ms·
I wrote about the related idea of implicit vs. explicit state back in 2005. http://pl.atyp.us/wordpress/index.php/2005/07/explicit-state/ http://pl.atyp.us/wor
by notacoward 13y ago
I wrote about the related idea of implicit vs. explicit state back in 2005.
http://pl.atyp.us/wordpress/index.php/2005/07/explicit-state/ http://pl.atyp.us/wordpress/index.php/2005/07/explicit-state...
Briefly, the kind of global state that's needed for debugging should be easy to find "from outside" - which precludes local variables along with other common idioms. It might still be distributed, and that can still be problematic, but the key point is that many ways of avoiding global state are worse than what they avoid. Global state itself is not the problem; inadequately contained or constrained changes to it are, and there are other solutions besides elimination.
- jamii 13y agoI like that explanation. I may link to your post in future rather than dmbarbours as it requires less background understanding.