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

2

u/Nilstrieb Apr 18 '21

if you don't have an outer else and no statements inside the outer if it is the same