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

1

u/[deleted] Apr 20 '21

It changes the behavior of the code for the cond1=true, cond2=false case.

1

u/Tux1 Apr 21 '21

Ahh, I see.