Railroad programming with `returns`. I think this makes sense for that chunk of...
Railroad programming with `returns`.
I think this makes sense for that chunk of code in your app that is
- super complicated
- flaky
- lots of code paths
- and has to work or the whole app & project fails
https://www.youtube.com/watch?v=qkxf583t4Vc&ab_channel=ArjanCodes
Self-replies
I'd add to this list some more high cost big guns for squashing/preventing bugs
- typeguard (I got frustrated and stop using this)
- hypothesis (This is hit or miss if it adds value)
- mutatest/mutmut (I haven't used these)
- 100% coverage
- pyta (pre/post condition checking)
- mypy for None safety (not sure this is achievable like in other languages with null safety)