I'm proudest when I fix a tough bug. Writing code is largely a matter of imagination and syntax, but bug hunting is serious analytical work. I get a rush everytime I nab a really nasty one. It doesn't seem to matter if I'm the one that wrote the buggy code, which I suppose qualifies as stupid!
Lately I've been thinking about another kind of Stupid Emotional Programmer Attachment - the attachment to a favorite language. As the freak that wrote a Perl SDK for Quake 3, I know all about choosing the wrong tool for the job. I've been reading about 3d game programming again and I just can't stop thinking about doing it with Perl. That's just plain dumb. First, Perl performance simply not up to the task. And more importantly, I can learn a lot more from the tons of high quality C/C++ 3d game code if I'm working in the same environment instead of hacking around in an SDL.pm backwater. Smarten up, me!