3 ms·
That’s a pure function, asides from the HTTP call (which it would seem reasonable to mock). Is there a better way to handle it?
by nailer 4y ago
That’s a pure function, asides from the HTTP call (which it would seem reasonable to mock). Is there a better way to handle it?
- adamwk 4y agoI’m not disparaging it; I think it’s great that languages have new constructs making certain FP patterns obsolete