3 ms·
Functional programming does this. Probably not Haskell level ninja types or passing functions around like dependency injection, but the idea of separating state
by formulathree 3y ago
Functional programming does this. Probably not Haskell level ninja types or passing functions around like dependency injection, but the idea of separating state and io away from pure logic does indeed remove complexity.
Ironically the separation of state away from logic is why backend web development tends to be easier than say game development.