4 ms·
>Functional programming does not work well in programs which handle a lot of states. I'd say this is completely false, and almost no one agrees with this if th
by runT1ME 10y ago
>Functional programming does not work well in programs which handle a lot of states.
I'd say this is completely false, and almost no one agrees with this if they've done any actual functional programming.
- emerongi 10y agoI'd say that state is actually easier to handle in functional languages. You just need the right abstractions for it. I've been working with Phoenix lately, which basically just hands request/response details down a pipe of functions, which all can change the state of the response. There can be a lot of state contained in this response, but when you use Phoenix, you don't really notice it. The abstraction makes everything seamless - best web-framework I've used to date.