News for hackers. Stuff that matters.
Re:Why Functional Programming Matters (1984) [pdf] by runT1ME on Thursday December 08, 2016 @02:16PM (#13133197)
>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.

Re:Why Functional Programming Matters (1984) [pdf] by emerongi on Thursday December 08, 2016 @02:32PM (#13133358)
I'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.