Although the average programming manager would say that intelligence is more important than personality in programming success, very few could cite cases of people who turned out not to be intelligent enough to program, but everyone knows of cases of people who were not temperamentally suited to the programmer's job. It is in this sense that we can assert that personality is more important than intelligence in programming.

The Psychology of Computer Programming: Silver Anniversary Edition by Gerald M. Weinberg

ISBN: 0932633420 Page: 148, Chapter 8 This book is available from Amazon