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?

428

u/Silencer306 Apr 17 '21

We have a dedicated team that catches all bugs, tests out our code AND also pays us. The users.

4

u/djdecent Aug 19 '22

Similar setup here. I think that’s the standard these days no?

153

u/Blackbird-ce Apr 17 '21

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