Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
J_Shelby_J
2mo ago
0 comments
Share
I’ve been doing the least amount of unit tests possible and doing debug asserts instead.
0 comments
default
newest
oldest
0x3f
2mo ago
Normally I would put as many invariants in the types as possible, then tests cover the rest. I'm curious how you do this/what you use it for though. Would be cool if you had any examples.
j
/
k
navigate · click thread line to collapse