Thomas Hehl is a system architect at Heavyweight Software (https://www.heavyweightsoftware.com), author, and all around thinker. He currently lives in Lexington, Kentucky.
Many Programmers are Narcissists This is actual code I once had to support. After struggling to comprehend the logic in AstaSaysGooGoo and AstaSaysGaaGaa (where many more astaTempVars were declared and used ) I was ready to give up. I finally looked up and saw the “@author” comment and the whole thing began to makes sense.…
That’s Latin ED: That’s let the implementor beware for you cavemen.
Chains Too ED: Solid gold, baby!
Everyone Regrets It In a GIGANTIC 800 line ‘switch‘ statement, somewhere in the middle: A few hundred lines later…
Maybe it’ll Make Sense to you Later I have used this one on more than one occasion, when I’ve done some kind of non-obvious simplification to a mathematical formula that I don’t feel like documenting:
Or This //You are not expected to understand this A classic.
From one of our projects.Somewhere at the end of one source file. /*@ /\ /\ * @ / \/ \ —– | | —- |—\ | | /–\ — | | —- /–\ /–\ * @ / — | | | | | / | | | | |\ | | | | * \—\…
Can’t get any Simpler than that Simple but effective comment, before a less than safe hack in some C++ code
How About That? About 10 years ago I was working at image processing, scanning microscope video frames to detect cell movement. I was working at a particularly intricated function and decided to go out and have a drink with friends. When I came back home I worked a little bit but not too much because…
Humor in Licensing I posted this “license statement” in a WordPress template I released. I thought it was funny, anyhow.