Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the code on StackOverflow's 404 page work? (Pic included)

Everybody's seen this before, but what is this code? I don't even know what language to tag this with. Could somebody decipher it?

enter image description here

Note- I would post this on meta but it is a programming question, just pretend I had said "I found this mystery code somewhere..."

like image 418
Tim Avatar asked Oct 09 '22 15:10

Tim


1 Answers

All the lines except line four are commented with #. Line four simply prints 404.

And here I thought it was some crazy #define macro.

Original posting is here: https://meta.stackexchange.com/questions/27112/amusing-404-page-not-found-images-for-trilogy-sites

Also seen here: https://meta.stackexchange.com/questions/28625/whats-the-joke-in-the-stack-overflow-404-page-code

like image 107
Hawken Avatar answered Oct 11 '22 05:10

Hawken