Bugs that do not throw
Every one of these closes a failure that returns a plausible wrong answer instead of an error. Nothing crashes, nothing logs, and the number on the screen is simply wrong.
Curated by Code Recycle Editorial
- 1
The sanitizer that turns "$25M" into 25 doesn't throw. It saves, renders $25, and looks completely normal.
Why it's here: 22 of 28 results wrong across four popular libraries. $25M stored as 25.
- 2
Guess the delimiter wrong and you do not get an error -- you get one column, or every value shifted by one.
Why it's here: Guess the delimiter wrong and you get one column, or every value shifted by one.
- 3
Daily metrics computed in UTC are wrong for a whole timezone, and DST days do not have 24 hours.
Why it's here: Daily metrics in UTC are wrong for a whole timezone, and DST days are not 24 hours.
- 4
A bounding box crossing the antimeridian silently contains NOTHING, and Euclidean degrees are wrong everywhere.
Why it's here: A box crossing the antimeridian silently contains nothing.
- 5
Channels report stock asynchronously, so a unit sold on one is still listed on another. The first symptom is a cancelled order and a lost customer.
Why it's here: A unit sold on one channel is still listed on another.