I replaced the equivalent of floor in a code base and I was surprised it didn’t break. Yet.
Fixing ancient bugs
Submitted 1 year ago by JATtho@sopuli.xyz to programmer_humor@programming.dev
https://sopuli.xyz/pictrs/image/3a1f03de-9b08-4ad0-a175-a7d246cf9bf8.png
noli@programming.dev 1 year ago
How did a bug with something like that never pop up in unit tests?
JATtho@sopuli.xyz 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 1 year ago
Corner cases.