Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
elwell
· 8y ago · 0 comments
What the world really needs: "1/0 = 0" in production build, "1/0 throws error" in development build...
Comments
[–]
gowld
8y ago
That makes your bugs invisible in production. You could be failing every single transaction in the real world, and never know if your tests don't tickle the unhappy case.
[–]
myblake
8y ago
Fairly straightforward in some languages (Ruby for instance).