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