• Brickardo
    link
    fedilink
    arrow-up
    72
    ·
    2 months ago

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

    • ulkesh@beehaw.org
      link
      fedilink
      English
      arrow-up
      22
      ·
      2 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.