According to Larry Wall, the creator of Perl and owner of one of the world’s most impressive moustaches, a great programmer is a paragon of three virtues.
What Larry calls virtues are considered by most world societies to be vices. The virtues of a programmer are:
Programmers do not like to work. If a programmer has to do the same task more than once, there is no reason not to automate it. Some of the best systems administrators I know practice a sort of Taoist Administration Technique. They administer without administrating, because the machine does the work.
Computers are notoriously slow at doing the things that they allegedly can do quickly. Programmers will go to great lengths to optimize their code to make it faster.
This virtue is likely the cause of open source software. Any code you can write, I can write better. Pride in the software that a programmer produces is kind of a big deal.