this post was submitted on 12 May 2024
596 points (93.8% liked)

Memes

45584 readers
1211 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 70 points 6 months ago (3 children)

Why, of all possible languages, would you suggest this for Javascript where semicolons are not mandatory

[–] [email protected] 22 points 6 months ago

Not only that, the interpreter will point directly to the line of code and possibly to the exact character that is the problem. Any programmer worth anything would find the issue or, worst case, retype the line of code and have the problem fixed rather quickly. “Illegal character” is a pretty easy error to diagnose.

But…I still chuckled a little at the intent of the joke. I’m sure there are better pranks one could come up with, though.

[–] [email protected] 7 points 6 months ago