How lawyers are like programmers
Published August 29th, 2006 edit replace rm!
Rich from Basement.org writes about how lawyers really are like programmers when they write contracts. Here is an example:
“Exception” Handling. Any lawyer will tell you that a primary role of a contract is that of a reference document for when things go bad. If all is well in a business relationship, the contract is seldom ever referred to. But when things go sour, every word or phrase may be picked apart. As such, it’s wise to think through how scenarios would play out against your contract. When coding, a similar premise applies. How much load will this object have to withstand? What if a particular transaction (which is dependent on an outside service) fails? What if the database goes down? Good code insulates itself from or gracefully addresses these “bad scenarios.”