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.
Comment on Anon is a math prodigy
joyjoy@lemm.ee 5 weeks agoFile fails to compile, web server tries to run the file, error.
echodot@feddit.uk 5 weeks ago
joyjoy@lemm.ee 5 weeks ago
You must have never used the eclipse Java compiler.
lime@feddit.nu 5 weeks ago
if your server runs user-submitted code server side, that’s a paddlin
Black616Angel@discuss.tchncs.de 5 weeks 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.
sugar_in_your_tea@sh.itjust.works 5 weeks ago
Nodejs exists. Here’s a JS snippet that would throw an exception: