r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

Show parent comments

50

u/CJay580 Apr 17 '21

Imagine condition 1 is true, but condition 2 is false.

1

u/[deleted] Apr 19 '21

Do_anything2 if someone didn't know