loop
...
...
// sleep 10
sleep 7 // Changed from "sleep 10" on 11-19-05
// by jvj because Bruce in Buffalo bitched
// that it ran too long. Now he's happy.
// The next time he bitches, change it to
// "sleep 5". That oughta buy us another
// year before we have to rewrite it.
...
...
until done do repeatWhat is the best comment in source code you have ever encountered?
21–30 of 50 posts
Re: What is the best comment in source code you have ever encountered?
#22Not 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?
#23/** * Today I'm getting discharged from the Army * Don't have time to properly comment the code * Call me if you have any questions: Name,054-XXXXXXX */
Re: What is the best comment in source code you have ever encountered?
#24loop ... ... // sleep 10 sleep 7 // Changed from "sleep 10" on 11-19-05 // by jvj because Bruce in Buffalo bitched // that it ran too long. Now he's happy. // The next time he bitches, change it to // "sleep 5". That oughta buy us another // year before we have to rewrite it. ... ... until done do repeat
Although I guess the punchline has come before the "joke"...
Re: What is the best comment in source code you have ever encountered?
#25# I apologize for how messy this is. Blame it on an inconsistent database structure. I did the best I could.
Re: What is the best comment in source code you have ever encountered?
#26 // I got this code from [Bob] of [Some other group].
// I don't know how it works; ask him.
[Bob] happened to be my manager at the time, and hadn't worked for [Some other group] for around five years.Re: What is the best comment in source code you have ever encountered?
#27I 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.
(They may have fixed this recently, but it was like that for the longest time.)
Re: What is the best comment in source code you have ever encountered?
#28Re: What is the best comment in source code you have ever encountered?
#29Re: What is the best comment in source code you have ever encountered?
#30I 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.