[Home] [By Thread] [By Date] [Recent Entries]
> But it's not repeatable. Eventually, all the Coke cans in the world are on > your desk, and then further repetitions will not avail. True idempotent > requests can be repeated indefinitely and produce the same effects each time. > Causing a physical movement is the very paradigm of a side effect. A function is idempotent if repeated applications have the same effect as one. [FOLDOC] A relevant example is an initialization routine that performs its side effects only once, no matter how many times it is called. As long as no further cans of Coke drop no matter how many times the GET is invoked, the GET is idempotent. Bob Foster
|

Cart



