this post was submitted on 29 Oct 2023
135 points (93.5% liked)

Programmer Humor

19726 readers
60 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
 

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

top 3 comments
sorted by: hot top controversial new old
[–] noli 4 points 1 year ago (2 children)

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

[–] [email protected] 9 points 1 year ago

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

[–] [email protected] 4 points 1 year ago

Corner cases.