I know what you mean. I've written programming articles, but sometimes I wonder whether I was (am) only doing it for ego reasons and whether that time would have been better spent by simply doing more programming.
Maybe Why the Lucky Stiff had the right idea when he disappeared. I've thought about that a lot.