One of the better code comments I've come across...
-
:-D Now I remember this funny article by Chris. Amusing article comments[^]
thatraja
**My Tip/Tricks
My Dad had a Heart Attack on this day so don't...
**Thanks! I hadn't seen that... I just love the MS bug "Error Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords" http://support.microsoft.com/kb/q276304/[^] I think it's the way the minimum password length increased "from 17,145 to 18,770 with the installation of SP1" that gets me... :laugh:
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
-
Not as discouraging as
// temp workaround, fix before release! 15.3.2003
FILETIME to time_t
| FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchyScary... just a reminder to comment my code well :-D
-
Thanks! I hadn't seen that... I just love the MS bug "Error Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords" http://support.microsoft.com/kb/q276304/[^] I think it's the way the minimum password length increased "from 17,145 to 18,770 with the installation of SP1" that gets me... :laugh:
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
OriginalGriff wrote:
Thanks! I hadn't seen that...
You welcome, BTW Also I found this one only on last month while surfing CP. Chris may update this then it will be massive funny collection. :)
thatraja
**My Tip/Tricks
My Dad had a Heart Attack on this day so don't...
** -
CPallini wrote:
OK, I was the original author and God is still studying it.
That's going to take him some time. (S)He's still trying to work out why on earth an (almost) elderly middle-aged Italian would take up running.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Henry Minute wrote:
(S)He's still trying to work out why on earth an (almost) elderly middle-aged Italian would take up running.
She(He)'s still trying to work out why on earth an (almost) elderly middle-aged Italian would take up running, vainly attempting to beat Henry's record. FFY. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
I found this about five years ago in some C++ code: // the code below is less broken than the code // above, but leave it commented out. The funny thing about it was that neither block of code was commented out.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
If we don't see you again is there anyone you would like us to contact?
If you are cross-eyed and have dyslexia, can you read all right? http://www.hq4thmarinescomm.com[^] [My Site]
-
Not as discouraging as
// temp workaround, fix before release! 15.3.2003
FILETIME to time_t
| FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy -
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
I found a comment in a legacy app that said "If you get this far, hold onto your pants."
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
//FIRE IN THE HOLE! I just could not believe it.
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
I've stumbled through code that was very well commented, but then further down in a a snippet of code, there it was:
//Only God Knows...
I guess the developer who commented that code, wasn't the one who first wrote it.
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
-
My favorite was the comment on a particularly nasty and spaghettified function ".. abandon hope all ye who enter here". Of course, I'm biased since I'm the one who put it there. :)
patbob
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
ENTER AT YOUR OWN RISK!!! and the secret passcode is "xyzzy" which produces a response of "you are in a maze of twisty passages" - I think that should sum things up :-\
Steve _________________ I C(++) therefore I am
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
I certainly wouldn't place odds on the author understanding it. As for God, I've seen some code that might qualify for the Stone Paradox. Maybe God could understand it, if He was stoned.
-
That's the exact quote I have on the entrance to my cubicle. :laugh:
-NP Never underestimate the creativity of the end-user.
-
I viewed this post, expecting a genuinely helpful and encouraging comment, a shining gem of what I one day could find in the code I work on, and a brilliant example of commenting I can aspire to reflect in my own code. What I found was the typical "look at that bad comment" that you can get from many outlets. I recommend not to trust the titles of this poster blindly, and verify the contents before making any decision. Might not view again.
FILETIME to time_t
| FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchypeterchen wrote:
expecting a genuinely helpful and encouraging comment
Come on, give the guy a break. He didn't write it. As far as I can tell, it tells you exactly what you can expect from the following code without even looking at the code. What more can you ask of a comment?
-
Thanks! I hadn't seen that... I just love the MS bug "Error Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords" http://support.microsoft.com/kb/q276304/[^] I think it's the way the minimum password length increased "from 17,145 to 18,770 with the installation of SP1" that gets me... :laugh:
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
-
Just came across this comment in another programmer's code: /* This method is a total disaster. It works, but stepping through it is a nightmare. The original * programmer and God are probably the only ones who understand it. ENTER AT YOUR OWN RISK!!! */ Gave me a much needed chuckle this morning. Unfortunately, I now need to enter this method to perform some maintenance. Wish me luck! :-D
-NP Never underestimate the creativity of the end-user.
still better than my comments :)
Last Egyptian Physicist www.ameen.rr.nu