As a software developer, I have occasionally been tempted to put… um, “colorful” language… in my source code and comments, especially about whatever vagaries of the OS API that I’ve just spent several days locating and working around. I generally manage to suppress the urge, because it’s rather embarrassing when you go to share or sell the code. But apparently not everyone has a problem with that. (Thanks, interrobang!) (It seems that it isn’t only open source projects that have had to deal with that, either.)
This particular snippet has to be my favorite:
if ( w->ssmailbox.auto_resize != False ) { Widget parent; x=0; y=0; /* AAAAAAAAARRHRRHRRRRRRRRRRRRRGGGGGGGGGHGGGHGHHHHHHHGGGHHHHHHHH!!!!!!!!!! Fuck me gently with a chainsaw! Will someone please tell me how the fuck you resize a fucking widget?? Why, when I call whatever resize method I try with 64×64 does the fucking window end up 64×82? WHY???????? WHY???????? WHY???????? WHY???????? WHY???????? WHY???????? (why..?) */ for (parent = (Widget) w; parent != None; parent = XtParent(parent)) { #ifdef Xt_doesnt_suck_wet_farts_from_dead_pigeons XtResizeWidget(parent, im->width, im->height, parent->core.border_width); #else
“#ifdef Xt_doesnt_suck_wet_farts_from_dead_pigeons”?!? That’s an instant classic.
But not as classic as the never-ending TP pun thread on Geek Drivel….