News for hackers. Stuff that matters.
Re:What Is Idempotence? by hcarvalhoalves on Thursday April 04, 2019 @08:22PM (#19578463)
You're assuming there's no other thread modifying `a` between the assignments. That would make both examples non-idempotent.
Re:What Is Idempotence? by dllthomas on Thursday April 11, 2019 @01:44PM (#19637173)
Idempotent means "aa = a." "For all b, aba = ba" is a different property.