DEV Community

loading...

Discussion on: Why I don't believe in pure functional programming anymore

Collapse
iquardt profile image
Iven Marquardt • Edited

So what you are essentially saying is that side effects caused by mutations/reassignments are less harmful than those caused by IO and hence it isn't worth abstracting from the latter? Don't you think that IO related side effects hamper local/equational reasoning the same way that mutations/reassignments do?

Collapse
yujiri8 profile image
Ryan Westlund Author

It's not so much that IO-related side effects hamper local reasoning less, but that preventing them altogether is too impractical.