c/programmer_humor · by JATtho@sopuli.xyz · 2yFixing ancient bugs I replaced the equivalent of floor in a code base and I was surprised it didn't break. Yet. 129 points · 3 comments · view on lemmy.world
3 Comments
noli@programming.dev · 4 pts · 2y
How did a bug with something like that never pop up in unit tests?
JATtho@sopuli.xyz · 8 pts · 2y
There were no unit tests and previous dev had opened the pandora's box with half-written implementation. Gasp
MonkderZweite@feddit.ch · 4 pts · 2y
Corner cases.