this post was submitted on 29 Oct 2023
128 points (93.8% liked)

Programmer Humor

19471 readers
30 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.

you are viewing a single comment's thread
view the rest of the comments
[–] noli@programming.dev 4 points 1 year ago (2 children)

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

[–] JATtho@sopuli.xyz 9 points 1 year ago

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

[–] MonkderZweite@feddit.ch 4 points 1 year ago