r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

253

u/420TaylorStreet Apr 17 '21 edited Apr 18 '21

... sooooo, any unit test catch this?

153

u/Blackbird-ce Apr 17 '21

I'd be surprised if there'd be unit tests.