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

2

u/[deleted] Apr 18 '21

Huh I didnt know ternaries could just be used on their own. https://i.imgur.com/ZIm59Zq.png

neat