I believe people are too valuable & creative to do mundane & repetitive tasks. So I see writing code as valuing humanity because when a computer does mundane & repetitive tasks it frees up the humans to do more creative & difficult things.