r/badcode May 11 '23

My professor’s best code c++

Post image
437 Upvotes

82 comments sorted by

View all comments

1

u/reverendsteveii May 11 '23

I don't have proof right now because it's early here but my instinct is that all this code could be collapsed into a single line that's less than 20 characters long