I disagree with the premise that programming is more difficult than writing documentation. Programs are read by computers. Documentation is read by people. I think most people here would agree that getting a computer to understand what you are trying to say is often far easier than getting a person to understand what you are trying to say.