• @x4740N
    link
    English
    951 month ago

    Wouldn’t most development programs tell them the syntax error on the line and column where you replaced the semicolon

    This wouldn’t work

    • @[email protected]
      link
      fedilink
      English
      391 month ago

      Just tested in the console, it gives an illegal character error and gives you the line number.

    • @Cipher22
      link
      English
      161 month ago

      It would work for someone just starting and not knowing good tooling yet. However, the compiler should also tell you where to look and give you the area to look at as well. It’ll be less clear than an IDE, though.

    • @[email protected]
      link
      fedilink
      3
      edit-2
      1 month ago

      Yeah, doing something similar with brackets would be much more effective since that usually doesn’t give a line number. Is there a unicode clone of )?

    • kamen
      link
      21 month ago

      Yup. It’s as if we’re assuming this friend is coding inside Notepad.