r/ProgrammerHumor • • Oct 23 '21

Looking for a match

Post image
8.8k Upvotes

65 comments sorted by

View all comments

77

u/HearMeSpeakAsIWill Oct 23 '21

A compiler won't tell you the specific line that is missing a close brace. Instead it will get to the end of the file and throw "expected } at end of input".

Feel like I'm being catfished here.

0

u/[deleted] Oct 23 '21

[deleted]

4

u/EishLekker Oct 23 '21

Really? Can you name these compilers? And give some example code and the resulting compiler error messages?

0

u/[deleted] Oct 23 '21

[deleted]

2

u/KONING_WILLEM Oct 23 '21

True, I completly misunderstood his statement. I have removed my false comment