Skip to content
Code Recycle
← Collections

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. 1
    Money Shorthand ParserComponent✓ Free

    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. 2
    CSV Dialect & Encoding SnifferComponent✓ from $19

    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. 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. 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. 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.