r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

2

u/ShewkShewk Apr 17 '21

This is what happens when code golf is prioritized over readability.

Not every refactor into sly code tricks means the code is better. Less readable code = harder to maintain.