Y
Hacker News
new
|
ask
|
show
|
jobs
by
lmm
2734 days ago
Why? That's both more work and more error-prone than just using a language that will ensure it.
1 comments
lgunsch
2733 days ago
If every condition is important to the business, as is implied in this case, it would be very valuable to have tests to cover them.
link
lmm
2733 days ago
The business wants to know all conditions are handled appropriately, to a certain level of confidence. Tests are one way of achieving this but by no means the only way.
link