83

Types as tests: How to fail the build when there’s a logical error

 6 years ago
source link: https://medium.com/@andreworobator/types-as-tests-how-to-fail-the-build-when-theres-a-logical-error-e7000e2f62b8
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
I was recently implementing the repository pattern when I noticed a potential bug. For those who want a short explanation of the repository pattern, you basically take however you’re getting your…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK