News for hackers. Stuff that matters.
Re:Idempotence: What is it and why should I care? by not_kurt_godel on Monday August 20, 2018 @09:13PM (#17805909)
A more idempotency-friendly API would be:

    setAccountLockStatus('user', LockStatus.LOCKED)
Re:Idempotence: What is it and why should I care? by morokhovets on Tuesday August 21, 2018 @01:31AM (#17807240)
Or maybe ensureAccountLocked('user')?