4 ms·
All true (I gave a talk on this subject just recently [1]), but the easiest and most provable way to isolate mutation is to not use it at all. I think most peo
by prospero 12y ago
All true (I gave a talk on this subject just recently [1]), but the easiest and most provable way to isolate mutation is to not use it at all.
I think most people coming from an imperative background are surprised by how infrequently mutation is actually required. It's worthwhile to explore how far pure functions will take you.
[1] https://www.youtube.com/watch?v=iQwQXVM6oiY https://www.youtube.com/watch?v=iQwQXVM6oiY
- brudgers 12y agoFrom farmer's pen to plate, now I know where sausage comes from. I enjoyed the presentation, thanks. While I have found it improved my understanding of functional idioms when I explained them to others, I believe I am more helpful if I point people directly toward Hickey and Graham and PLT. I can paraphrase The Value of Values but it's better watched without translation.