Do hackers think faster than programmers?

Hackers don’t think faster than programmers. First, many hackers are not programmers at all (script kiddies for example). Second, many hacking activities are very limited in time. By reducing the time you are exposed during hacking, you are reducing at the same time the possibilities of being caught.

This is why many hackers perform as fast as they can during a real attack. The general impression and according to the popular culture (movies, books, videos) is that they think faster than normal IT professionals.