Top funny source code comments « deconectat (deconectat.wordpress.com) 6 points by redDragon 13y ago ↗ HN
[–] jgrahamc 13y ago ↗ Long ago I had to maintain someone else's 250,000 line C program. It contained a single comment: /* bad code */ I never found out if this was a description of what followed or an admonishment to the code itself. [–] DanBC 13y ago ↗ ...or perhaps even that single comment contained an error, and should have been /* bad coder */
[–] DanBC 13y ago ↗ ...or perhaps even that single comment contained an error, and should have been /* bad coder */
[–] jemka 13y ago ↗ Code comments are my guilty pleasure. Like texts from last night for nerds. I don't care if they're fake, they're entertaining to me. But I desperately hope deep down some of them are real. Like Santa.
[–] phevia 13y ago ↗ Dont wanna spoil the party, but these are all taken from the famous StackOverflow thread: http://stackoverflow.com/questions/184618/what-is-the-best-c...At least some attribution should be given. (The link "via cobaia" is a 404). [–] redDragon 13y ago ↗ More on the mozilla source code website: http://mxr.mozilla.org/mozilla-release/search?string=screw
[–] redDragon 13y ago ↗ More on the mozilla source code website: http://mxr.mozilla.org/mozilla-release/search?string=screw
[–] kls 13y ago ↗ Best one I ever came across was:/* Here at this very place, you will discover that reality is but an illusion, that the box does not exist and the cat never lived. */IIRC it was doing something with /dev/null
[–] redDragon 13y ago ↗ Talk about expletives in Source Code. Ha Ha! http://mxr.mozilla.org/mozilla-central/source/content/xslt/t...Perhaps mozilla's code base can be analysed for usage of commit styles ;)
7 comments
[ 3.1 ms ] story [ 30.6 ms ] threadAt least some attribution should be given. (The link "via cobaia" is a 404).
/* Here at this very place, you will discover that reality is but an illusion, that the box does not exist and the cat never lived. */
IIRC it was doing something with /dev/null
Perhaps mozilla's code base can be analysed for usage of commit styles ;)