Not to be a grouch, but most of this seems puerile and borderline irresponsible to me. Source code should be concise and beautiful, not a repository for unfunny attempts at humor by programmers.
I agree.
What is the best comment in source code you have ever encountered?
41–50 of 50 posts
Re: What is the best comment in source code you have ever encountered?
#42 ...
} catch exception {// Failed to load in the proper way
// Attempting to wing it
...
}
Re: What is the best comment in source code you have ever encountered?
#43Re: What is the best comment in source code you have ever encountered?
#44Re: What is the best comment in source code you have ever encountered?
#45Not to be a grouch, but most of this seems puerile and borderline irresponsible to me. Source code should be concise and beautiful, not a repository for unfunny attempts at humor by programmers.
Re: What is the best comment in source code you have ever encountered?
#46Re: What is the best comment in source code you have ever encountered?
#47 /*
* W A R N I N G
*
* If you think you know what all of this code is doing, you are
* probably very mistaken. There be serious and nasty dragons here.
*/Re: What is the best comment in source code you have ever encountered?
#48char program [1];/* Unwarranted chumminess with compiler. */ First by Dennis Ritchie in his regular expression implementation, and then subsequently copied with the comment intact into all other regular expression implementations ever written.
Re: What is the best comment in source code you have ever encountered?
#49//How's my coding?
//1-800-NO-ONE-CARES
Although I had trouble coming up with what to say in the phone number. Any suggestions?
Re: What is the best comment in source code you have ever encountered?
#50I hate the way SO only remembers you for a week or two, so when you return, you have to login, going to a separate screen and so on. Why do they have to make it so hard? What's the advantage in forcing frequent logins? Yeah, I know I should find some other StackExchange site, go there, create an account there, login there, and post this complaint there - but you know, that's just more of the same problem.
Please note we did force logout globally, network-wide in April 2010 (to mandate emails for Google GMail OpenIDs) and September 10th 2010 (to enable global auth for all users).
Also, we delete any sessions older than 4 months as a matter of course.
So if you visit VERY infrequently, you might run into one of those.
Details:
http://blog.stackoverflow.com/2010/04/openid-one-year-later/ http://blog.stackoverflow.com/2010/09/global-network-auto-lo...