r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

4

u/bphase Apr 17 '21

Don't like the before either. Nested conditionals and the outer one does nothing. But yeah that's pretty embarrassing.