Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tirutiru
· 1y ago · 0 comments
I wonder how many completely u related applications have that interval check logic coded up somewhere. I'm pretty sure I wrote one for my work codebase. Would I bet my life that the < and <=s are correct? Nope.
Comments
[–]
Animats
1y ago
That's what unit tests are for.
[–]
senderista
1y ago
or better yet, property tests