getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.64k stars 1.96k forks source link

"program operation" or "program state" ? #101

Closed JoeHetfield closed 7 years ago

JoeHetfield commented 7 years ago

Ch5, line 398:

Remember: the notion of idempotence here is that each idempotent operation (like obj.count = 2) could be repeated multiple times and not change the program operation beyond the first update. The non-idempotent operations change the state each time.

I found the "program operation" is a little bit confusing, maybe "program state" is better.