Y
Hacker News
new
|
ask
|
show
|
jobs
by
lmm
205 days ago
In most domains, silently returning 0 in a case where your logic didn't actually calculate the thing you were trying to calculate is far worse than giving a clear error.