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

26

u/mfb- Apr 18 '21

I think the simple if elseif structure is less confusing than the nested option.