I believe many concepts mentioned in the compendium are still valid for the functional paradigm, but definitely the examples are not.
Thanks for the input! I'll reason about how to reconciliate OO and FP once I finished the remaining chapters!
14 karma · joined April 29, 2021
I believe many concepts mentioned in the compendium are still valid for the functional paradigm, but definitely the examples are not.
Thanks for the input! I'll reason about how to reconciliate OO and FP once I finished the remaining chapters!
In my coding life, I had a period where I was super into test driven development with mocks and I believe I was doing something very similar to what you called sane logic check. However, I later dropped this approach in favor of heavily parametrized tests where checks happen only on the output of functions and on side effects when necessary (e.g. an email is sent or a row is updated in the database).
Note: I am using this Martin Fowler's definition for "spies": https://martinfowler.com/bliki/TestDouble.html
I am starting again now with the idea of finishing it by the end of 2023, but I wanted to give it another try here on HN to collect some feedback as my first submission went completely unnoticed.
What you mentioned about backend/frontend is actually very cool. In my original plan I wanted to produce three compendia: 1. Software design 2. Software architecture 3. Tech leadership
Still in my mind, but considering I am yet to complete the first one, it is going to take a while :)
Let me know if you ever go down that road! I would be very curious to read it.