MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y3320n/dynamicprogramming/19t2fd2z84lsx/?context=3
r/ProgrammerHumor • u/nerdycatgamer • 1d ago
140 comments sorted by
View all comments
Show parent comment
2
Caching has side effects!
A pure function can be thought of as looking at a potentially infinitely wide associative array.
1 u/janyk 1d ago What side effects? 3 u/SpiritedEclair 1d ago Invalidation of another entry, updating counters, in a distr system eg for CDN it means transferring data to the CDN, and potentially needing to invalidate it.
1
What side effects?
3 u/SpiritedEclair 1d ago Invalidation of another entry, updating counters, in a distr system eg for CDN it means transferring data to the CDN, and potentially needing to invalidate it.
3
Invalidation of another entry, updating counters, in a distr system eg for CDN it means transferring data to the CDN, and potentially needing to invalidate it.
View all comments
Show parent comment
2
u/SpiritedEclair 1d ago
Caching has side effects!
A pure function can be thought of as looking at a potentially infinitely wide associative array.