News for hackers. Stuff that matters.
Re:OOSMOS, the Object Oriented State Machine Operating Syste... by gregwebs on Wednesday November 04, 2015 @10:16PM (#10511430)
I have done functional programming (FP) with Haskell (including professionally) for years, and I think this notion is misguided.

One of the core principles of FP is about state. However, I believe it is to think very carefully about state and be very explicit about how you handle it rather than performing ad-hoc mutations. That often means avoiding state, but many problems require maintaining state.

State machines can be a great tool to be explicit about state management to the point that you can have a specification for how state behaves.

Re:OOSMOS, the Object Oriented State Machine Operating Syste... by lectrick on Thursday November 05, 2015 @12:06PM (#10514505)
Thanks for the clarification.

Also, constraint of side effects at the language level allows powerful things like... time-traveling debuggers (does GHC provide anything like this, btw? Because it probably could...)

http://elm-lang.org/blog/time-travel-made-easy