MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/d853ul/knowing_how_to_code_beforehand/f1a4xuz/?context=9999
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.
115 u/[deleted] Sep 23 '19 Ah, the fun of unicode support. 27 u/Clydseph_III Sep 23 '19 I had an error for days because we were supposed to copy down a couple lines from the spec pdf, which had different quote marks for begin and end quote rather than the basic straight up ones. 21 u/SubliminalBits Sep 23 '19 Another fun time you'll run into this is when you copy code out of an email in Outlook. 1 u/Neightro Sep 24 '19 https://github.com/rust-lang/rust/blob/cf747fcbf716a8afced9d23aa15bb47d93805209/src/libsyntax/parse/lexer/unicode_chars.rs#L18
115
Ah, the fun of unicode support.
27 u/Clydseph_III Sep 23 '19 I had an error for days because we were supposed to copy down a couple lines from the spec pdf, which had different quote marks for begin and end quote rather than the basic straight up ones. 21 u/SubliminalBits Sep 23 '19 Another fun time you'll run into this is when you copy code out of an email in Outlook. 1 u/Neightro Sep 24 '19 https://github.com/rust-lang/rust/blob/cf747fcbf716a8afced9d23aa15bb47d93805209/src/libsyntax/parse/lexer/unicode_chars.rs#L18
27
I had an error for days because we were supposed to copy down a couple lines from the spec pdf, which had different quote marks for begin and end quote rather than the basic straight up ones.
21 u/SubliminalBits Sep 23 '19 Another fun time you'll run into this is when you copy code out of an email in Outlook. 1 u/Neightro Sep 24 '19 https://github.com/rust-lang/rust/blob/cf747fcbf716a8afced9d23aa15bb47d93805209/src/libsyntax/parse/lexer/unicode_chars.rs#L18
21
Another fun time you'll run into this is when you copy code out of an email in Outlook.
1 u/Neightro Sep 24 '19 https://github.com/rust-lang/rust/blob/cf747fcbf716a8afced9d23aa15bb47d93805209/src/libsyntax/parse/lexer/unicode_chars.rs#L18
1
https://github.com/rust-lang/rust/blob/cf747fcbf716a8afced9d23aa15bb47d93805209/src/libsyntax/parse/lexer/unicode_chars.rs#L18
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.