Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adamwk
on Nov 16, 2022
|
parent
|
context
|
favorite
| on:
What’s so great about functional programming anywa...
And now we’ve gone full circle to writing imperative code
nailer
on Nov 16, 2022
[–]
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
on Nov 16, 2022
|
parent
[–]
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: