135

I replaced the equivalent of floor in a code base and I was surprised it didn't break. Yet.

you are viewing a single comment's thread
view the rest of the comments
[-] noli@programming.dev 4 points 10 months ago

How did a bug with something like that never pop up in unit tests?

[-] JATtho@sopuli.xyz 9 points 10 months ago

There were no unit tests and previous dev had opened the pandora's box with half-written implementation. Gasp

load more comments (1 replies)
this post was submitted on 29 Oct 2023
135 points (93.5% liked)

Programmer Humor

19187 readers
1128 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS