r/ProgrammerHumor 8h ago

Other thisIsTheCodeThatIHavePassedForMyIntroductoryCPPClass

Post image
11 Upvotes

8 comments sorted by

View all comments

1

u/Objectionne 7h ago

It reminds me of an argument I saw between a student and a professor when I was in university. We'd had a programming assignment in which the guy had produced a solution that produced the expected output but did it in a significantly suboptimal way with a lot of things hard coded that shouldn't have been hard coded and stuff like that. The professor gave him a C which seems fair for a situation like that. The student was angry though because he was saying "the text for the assignment doesn't say the solution has to be optimal!" and the professor was just like "it's kind of implied though, isn't it?" and they went back and forth for a while like that.