3 ms·
Oh, it's good for so much more. Just take this refactoring of a functional test library of mine: 1. https://github.com/haf/expecto/commit/e4f2ce3cc2b2cf3c848c5
by xyz-x 10y ago
Oh, it's good for so much more. Just take this refactoring of a functional test library of mine:
1. https://github.com/haf/expecto/commit/e4f2ce3cc2b2cf3c848c5e2a09ea9034d188e912 https://github.com/haf/expecto/commit/e4f2ce3cc2b2cf3c848c5e...
2. https://github.com/haf/expecto/commit/9f8380cdb17002e09ae169a0df394c869091b7e7 https://github.com/haf/expecto/commit/9f8380cdb17002e09ae169...
3. https://github.com/haf/expecto/commit/3fafd9ada4e932dcadc24a3fcb0b7098f36fbb20 https://github.com/haf/expecto/commit/3fafd9ada4e932dcadc24a...
4. https://github.com/haf/expecto/commit/0c243c9eb781e7527b0bd2357c1a867da196134d https://github.com/haf/expecto/commit/0c243c9eb781e7527b0bd2...
5. https://github.com/haf/expecto/issues/36 https://github.com/haf/expecto/issues/36
6. https://github.com/haf/expecto/commit/9284173599145a1bb08ee8ed7acd865dfa3c0429 https://github.com/haf/expecto/commit/9284173599145a1bb08ee8...
Functional programming also makes for really smooth control flow and that's a huge part of programming. In short what it does, is give you the ability to compose and reason with your code.