Laws are interpreted (eventually) by judges, who are given the solemn duty to exercise common sense in their interpretations.
Computers, by contrast, do exactly what they are told and no more.
This is why it takes an engineer to craft a computer program, but a politician can craft a law.