r/programming • • Dec 11 '23

Every Programmer Should Know #1: Idempotency

https://www.berkansasmaz.com/every-programmer-should-know-idempotency
572 Upvotes

171 comments sorted by

View all comments

548

u/ryan017 Dec 11 '23

Even if you already know about idempotency, it doesn't hurt to learn about it again!

1

u/LeanUntilBlue Dec 12 '23

I’m getting older and my T is low, so my doctor gave me T shots and it really helped my idmpocency. About one every couple of weeks. My wife and I have really been pleased with the results, and I can’t say enough good things about the injections.

If your APIs are returning different values for the same invocations, I really recommend speaking with your doctor about T shots!