• lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 days ago

      if your server runs user-submitted code server side, that’s a paddlin

      • Black616Angel@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        12 days ago

        It never said user code.

        This could as well be an intro to php and the server may be set to not show errors and instead just fail.

        The lecturer then writes some code, forgets a semicolon and gets a 500.

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      13 days ago

      If the file failed to compile the server wouldn’t execute it because a file wouldn’t be created. A compile error stops the process, It doesn’t result in a corrupted output, since that would be really stupid.