this post was submitted on 28 Nov 2024
462 points (88.5% liked)

Programmer Humor

32743 readers
138 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
[–] kameecoding@lemmy.world 6 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

What are you writing your code in? Windows notepad? How the hell do you not see the semicolon missing?

[–] Swedneck@discuss.tchncs.de -1 points 4 weeks ago (1 children)

because semicolons are tiny characters that oftenhave to be appended to the end of lines (precisely the worst place for them to be easily visible, since they'll blend in with the previous character)

whitespace meanwhile is very easy to notice that it's missing, as i'm sure you noticed when reading the above sentence.

[–] m532@lemmygrad.ml 1 points 4 weeks ago

In both cases, you press compile and the compiler goes "you missed a whitespace/semicolon HERE"