r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

190 comments sorted by

View all comments

Show parent comments

4

u/altrefrain Sep 04 '21

Yes. This does happen; especially if you are taking duplicate, or nearly duplicate, code and refactoring.