One of the better code comments I've come across...
-
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
-
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.
-
:-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...
**