What is the best comment in source code you have ever encountered?(stackoverflow.com)
stackoverflow.com
What is the best comment in source code you have ever encountered?
http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered/
4 comments
Some of my favourites:
From Unix, Sixth Edition:
/*
* If the new process paused because it was
* swapped out, set the stack level to the last call
* to savu(u_ssav). This means that the return
* actually returns from the last routine which did
* the savu.
*
* You are not expected to understand this.
*/My favorite would be a comment in some generated html (no other comments around it
<!-- this are some comments -->
Later it was "fixed"
<!-- these are some comments -->
<!-- this are some comments -->
Later it was "fixed"
<!-- these are some comments -->