In "Programmers at Work", Bill Gates makes a few interesting comments on programming speed and innate ability (pages 82-83):
"I still think that one of the finest tests of programming ability is to hand the programmer about 30 pages of code and see how quickly he can read through and understand it... A lot of people would say, "I want days and days to read this." A really good programmer would say, "Let me take that home with me. I'll just spend an hour tonight and go through the whole thing". The difference of ability there is vast."