this post was submitted on 25 Jan 2025
734 points (97.9% liked)

Programmer Humor

33584 readers
19 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] merc@sh.itjust.works 45 points 4 weeks ago (11 children)

I hate these. You don't need to program for very long before you see one of these. And, you get used to the idea that when it says there's an error on a blank line, that it means something isn't properly terminated on one of the previous lines. But, man, I hate these.

At the very least, you'd hope that by now compilers/interpreters would be able to say "error somewhere between line 260 and 265". Or, more usefully "Expected a closing ')' before line 265, opening '(' was on line 260".

Error on just pisses me off because the compiler / interpreter should know that that isn't true. Whoever wrote the compiler is a seasoned developer who has been hit by this kind of error message countless times. They must know how annoying it is, and yet...

[โ€“] Chrobin@discuss.tchncs.de 8 points 4 weeks ago

May I introduce you to our Lord and savior, rustc?

load more comments (10 replies)