News for hackers. Stuff that matters.
Re:Why Functional Programming Should Be the Future of Software by valenterry on Wednesday November 02, 2022 @12:43PM (#33438757)
I think the context here is pure functional programming. So not just replacing e.g. loops with mapping and such things, but actually making effect-handling explicit. The IO type (or otherwise deferred-type) is essentially for that. Saying it doesn't fit into the FP paradigm doesn't make sense. Without IO, FP is useless because you simply cannot "do" anything at all.

There are no comments on this comment yet.