Re:A Case Study of Toyota Unintended Acceleration and Softwa...
by jacquesm on Sunday January 18, 2015 @01:03AM
(#8906822)
Of course it doesn't free you from state. But it can help to put the state into a more manageable context. Just like side-effect free functions can help you with that.
I've done enough embedded programming (and repairs on embedded programming projects) to know just how bad the spaghetti can get and it really wouldn't hurt to borrow a few leaves from the functional world in those cases.
The abstraction of functional programming does not alleviate all of these issues, and can introduce other ones.