Luis Villa is a hacker turned law student. His Things I’ve Learned in Law School, part 1 has an interesting metaphor, comparing making and revising the law to programming. Apart from the fact that people are even less predictable than electrons flowing through gates, I’ve long thought such a metaphor was appropriate.

Perhaps by understanding the law as we understand programming and treating bad laws as refactoring opportunities, hackers can help refine the law into something clearer, more accurate, and more effective.