this post was submitted on 13 Dec 2024
315 points (97.3% liked)

Greentext

4593 readers
748 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
315
Anon is a math prodigy (self.greentext)
submitted 5 days ago* (last edited 5 days ago) by bluelion to c/greentext
 

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 5 days ago (3 children)

File fails to compile, web server tries to run the file, error.

[–] sugar_in_your_tea 2 points 3 days ago

Nodejs exists. Here's a JS snippet that would throw an exception:

for (x = 0; x < 5 x++)
{} 
[–] [email protected] 1 points 4 days ago (1 children)

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

[–] [email protected] 3 points 4 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.

[–] [email protected] -1 points 4 days ago (1 children)

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.

[–] [email protected] 3 points 4 days ago

You must have never used the eclipse Java compiler.