736
Errors (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] merc@sh.itjust.works 45 points 1 month ago

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...

[-] echodot@feddit.uk 28 points 1 month ago

My personal favorite is when it complains about a missing semicolon. So it's 100% knows what the problem is, it knows where the problem is, and it knows how to fix it. But it's not going to fix it out of spite.

[-] FooBarrington@lemmy.world 16 points 1 month ago

Oh boy, are you gonna LOVE Javascript

[-] Irelephant@lemm.ee 2 points 1 month ago

Javascript and html are more suggestions on how to write something that may work in a web browser.

load more comments (2 replies)
load more comments (4 replies)
load more comments (8 replies)
this post was submitted on 25 Jan 2025
736 points (98.0% liked)

Programmer Humor

32707 readers
622 users here now

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

Rules:

founded 5 years ago
MODERATORS