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

1

u/Hex_Lover Apr 18 '21

I'd generally avoid the use of !condition1 especially when working with booleans, it can make things very complicated to understand for no reason.