4 ms·And now we’ve gone full circle to writing imperative codeby adamwk 4y agoAnd now we’ve gone full circle to writing imperative codenailer 4y agoThat’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