Re:Heard of Idempotency but unsure what it is?
by latentsea on Monday June 10, 2024 @07:06PM
(#40640316)
George Bush understood idempotency - "Fool me once, shame on... you. Fool me twice... can't get fooled again!"
[ Parent
| on HN ]
Re:Heard of Idempotency but unsure what it is?
by ModernMech on Monday June 10, 2024 @07:45PM
(#40640640)
If George Bush were idempotent he would get fooled every time tho. That he doesn’t get fooled a second time means he’s stateful, like strtok().
Re:Heard of Idempotency but unsure what it is?
by latentsea on Monday June 10, 2024 @08:40PM
(#40641002)
He would appear to get fooled every time, but that's just a cached response of him getting fooled. He wouldn't actually be getting fooled again.
Re:Heard of Idempotency but unsure what it is?
by ModernMech on Monday June 10, 2024 @09:10PM
(#40641174)
So he's memoized then.