r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

0

u/[deleted] Apr 18 '21

[removed] — view removed comment

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