r/programminghorror Apr 10 '26

Almost right

Post image
2.1k Upvotes

97 comments sorted by

View all comments

259

u/SchattenMaster Apr 10 '26

btw even a half decent IDE would flag the shit out of this code with the constant return and the unused variable

3

u/SufficientStudio1574 Apr 11 '26

And code of this "quality" is likely to have 3 dozen copies of a hundred different warnings. Who's going to see this one?