Re:All I Want for Christmas Is These Seven TypeScript Improv...
by throwawaymaths on Monday December 26, 2022 @12:40AM
(#34134927)
The reason you don't want a pure keyword is because suppose you're doing some sort of stateful mock. Or, maybe you have a configuration that start outs having a fixed compile time lookup in a passed data structure, but then you evolve it to where it looks it up via a web service. If you were making assumptions that it was pure in either situation, your refactoring is going to be crazy painful.
[ Parent
| on HN ]
There are no comments on this comment yet.