1 comments

  • mrkeen35 minutes ago
    A race condition:<p><pre><code> Two processes intend to add two to a number. They each read the current value. Then they each write back the value which is two bigger then the original. </code></pre> If you instead use private fields and public getters&#x2F;setters, or use actors to form a protective bubble around the mutable state, you get...<p>The exact same thing but with more boilerplate.