- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Such comments are a trace of pain, a scream of “this is awful” into the void.
Admin
Addendum 2022-04-07 07:49:
s/verging/verbing
Addendum 2022-04-07 07:50: s?g$?g/?
Admin
Thirty minutes is easy mode.
Admin
I've learnt over time to be more careful, and sanitize some of those comments of mine, as sometimes they do get read by the targets of my ire.
Admin
I think I would have been happier if he had said which global variables had been affected!
Admin
I did recently comment "// there's probably a better way to do this, but this is the tool I have at my disposal now." Not much ire in it, but bit of resignation.
Admin
This little guy shows up in way to many of my comments. Usually in regards to some particularly nonsensical business logic that the users insisted we implement. ¯_(ツ)_/¯
Admin
Well sheesh, if Dewey sussed it all out, why not a bunch more comments in the code to explain each step.
More important: is this the team of Huey, Dewey, and Louie, or is it the team Dewey, Cheatham, and Howe?
Admin
bool uploadAllUserInformationToInternet;
Admin
Yeah. I wrote one of those not too long ago. I know there's a better way to do it, it's just not available in the .Net version I'm using and upgrading would take out some important stuff.
Admin
Might have been Dewey, Dan and Gerry.
Admin
While working in IBM 4680 BASIC (a P.O.S. system that's also a POS), I frequently found (and wrote) comments like "VODOO AHEAD - DO NOT ALTER"
Admin
POS systems are legendary bad in that regard; this is one of many reasons why I still use cash for every one-time invoice that is under 1000 Euros. I don't understand how people pay with cards in supermarkets or fast food restaurants honestly.
Admin
A cow-orker was going to edit some code I'd written years earlier that had some very subtle interactions in places, in short the code was complex in order to hide a bunch of odd corner cases from the user. He eventually came to me with some notes on suggested changes and commented "I was going to edit the code and then I saw the giant skull and crossbones at the top".
So they worked as intended.
Admin
A coworker once got a bit of a telling off for commenting something along the lines of
Admin
"Get the field value, stripped of accelerator key information"??? What does that even mean? What would accelerator key information do in a field's VALUE?
Admin
After on some occasions spending days to figure out how the bugged part actually works I have to concur.
Usually in several layers of "that's how it works" and "oh, there's yet another global interaction going on...".
I hate prototyping in production code...
Admin
Presumably the devs working on this code will know what that means. Hopefully...