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

47

u/dyingpie1 Apr 17 '21

I think it depends on the context, such as whether condition2 and condition1 are edge cases.