In my experience you do get a better programmer as you add IQ points. In fact I think that the technical interviews for software companies are in part measuring general intelligence, although in a programming context. As people rightly point out, you are very unlikely to actually need to solve the kinds of problems they ask in these interviews while on the job.