Hacker News new | past | comments | ask | show | jobs | submit login

And now we’ve gone full circle to writing imperative code



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?


I’m not disparaging it; I think it’s great that languages have new constructs making certain FP patterns obsolete




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: