MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f18plkt/?context=3
r/ProgrammerHumor • u/Cenggo • Sep 23 '19
264 comments sorted by
View all comments
322
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.
5 u/ponodude Sep 23 '19 How does that work? Did the checker not recognize that it was a comment? Why did it not just skip over the comments?Edit: Ooooohhhh Unicode. Still, what the fuck. That's dumb. 1 u/lordheart Sep 24 '19 Yep, wierd. It was Java too. So the Java compiler on my computer apparently didn't care. But their system failed.
5
How does that work? Did the checker not recognize that it was a comment? Why did it not just skip over the comments?
Edit: Ooooohhhh Unicode. Still, what the fuck. That's dumb.
1 u/lordheart Sep 24 '19 Yep, wierd. It was Java too. So the Java compiler on my computer apparently didn't care. But their system failed.
1
Yep, wierd. It was Java too. So the Java compiler on my computer apparently didn't care. But their system failed.
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.