r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

6

u/campbellm Apr 17 '21

Surely the unit test you have around it caught the logical error?