|
|
|
|
|
by kaba0
1444 days ago
|
|
I’m not sure FP limits you in any way. And I’m not just talking about Turing equivalence. When you are programming in FP, you are describing the program from another POV - taking the IO monad as an example, it just constructs a “list” of steps that should be taken at a given point vs just listing the steps in the program itself. In pure FP languages, immutability is enforced due to you describing a given state - it simply doesn’t make sense to change something there. |
|