Early in my career I did some bouncing between tech writing and programming gigs (my undergrad degree, after all, was in English and I have close to no formal education in c.s.), and a big part of why I ended up staying on the programming side was that it paid way better than the tech writing did.