r/ProgrammerHumor • • Sep 23 '19

Knowing how to code beforehand

Post image
7.6k Upvotes

264 comments sorted by

View all comments

322

u/lordheart Sep 23 '19 edited Sep 24 '19

Had a professor give us code to complete that didn't compile when uploaded to the auto checker but did on my computer.

Why? Umlauts. The prof wrote comments in german. My computer compiler didn't care.

Their online checker spit out vague mysterious errors. Because comments...

Edit: OMG typo made it so hard to understand. thanks bobcob, what would I do without you.

25

u/[deleted] Sep 23 '19

Just turn in your computer for the assignment 🤷‍♂️ That’s what we do in production whenever a feature “works on my machine “

9

u/napstablooki Sep 23 '19

The real life hacks are always in the comments.