HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by gizzlon | Hacker News Reader
Parent
Full thread
gizzlon
·
Shouldn't that be solved with a closure in both languages?
View on HN
qntm
·
I'm not sure there's anything there to be solved. If a "function" can return two different answers despite being provided with the exact same input parameters, you simply should not be attempting to memoize it.
Reply on news.ycombinator.com