Live data from Hacker News

What is the best comment in source code you have ever encountered?

stackoverflow.com

41–50 of 50 posts

Re: What is the best comment in source code you have ever encountered?

#41
post #7

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.

seems to be a good place to get "-4" karma

Re: What is the best comment in source code you have ever encountered?

#45
post #7

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.

You must be delightful to work on a team with

Re: What is the best comment in source code you have ever encountered?

#48

char 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.

Reference for non-C hackers: http://c-faq.com/struct/structhack.html

Re: What is the best comment in source code you have ever encountered?

#50
post #17

I 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.

Er.. what? We can't reproduce this, and there are sites in the network I don't visit very often, too.

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...

Post reply on HN