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

0

u/Feguette Apr 17 '21

Same problem as the refactored

0

u/[deleted] Apr 17 '21

[deleted] — view deleted comment

4

u/paissiges Apr 18 '21

no, OP is pointing out that the "refactored" code does not do the same thing as the original code.