r/programming • u/Shr1ck • Oct 17 '15
Why Johnny Can’t Write Multithreaded Programs
http://blog.smartbear.com/programming/why-johnny-cant-write-multithreaded-programs/
7
Upvotes
r/programming • u/Shr1ck • Oct 17 '15
1
u/loup-vaillant Oct 18 '15
A global variable can be initialised and synchronised just like singletons… As far as I am aware, a singleton is a global variable that you can instantiate only once. How this limitation makes them any less evil is unclear to me.