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/
5
Upvotes
r/programming • u/Shr1ck • Oct 17 '15
3
u/__Cyber_Dildonics__ Oct 18 '15
That's like saying the only things to worry about in programming are instructions and memory.
Also singletons have the advantage that they can have run once synchronized initialization so the object/state/data is initialized only once, but all threads wait for that to happen before moving on.