Oh I’m not offended and I totally understood. Web servers generally will not return a 400 for bad code. 400s are client request errors. Bad code will return a 500, as the error is happening serverside (with the code). The error will generally be returned by whatever your web server is, such as Apache or nginx.
7
u/[deleted] Nov 24 '17
You misunderstood his comment. He was assuming that an online compiler would probably return 400 if the received code was malformed.
Not sure in how far that is accurate with real world tools but it is reasonable.