How about a surgeon that's been up for 36 hours, hungry, with a splitting headachy, and some family problems on the mind. A human surgeon might be awesome and can still make a ton of mistakes for reasons unrelated to their medical abilities. Meanwhile, while a programmer could easily make a mistake, other people and tests of the code could spot a lot of mistakes that could be corrected before the system reaches its first patient.