3 ms·
Not if you put it into moralising terms like that. There's nothing wrong with crime either - lack of law enforcement is the issue. Shared, mutable state means
by mrkeen 2y ago
Not if you put it into moralising terms like that. There's nothing wrong with crime either - lack of law enforcement is the issue.
Shared, mutable state means that your correct (single-threaded) reasoning ceases to be correct.
Databases are a brilliant example of safe, shared, mutable state. You run your transaction, your colleague runs his, the end result makes sense, and not a volatile in sight (not that it would have helped.)