You can whip a tired ditch-digger until they dig more.
You can't whip a tired programmer until they write working code. You'll only get broken code.
A good analogy might be to the division between rank-and-file soldiers in the military, and military officers. You don't need to think to shoot a gun. You do need to think to decide where to send people to shoot their guns.