I'm a programmer and I have a law degree, but I don't quite agree with your assessment. Practicing law (as opposed to the study of it) isn't usually about applying the law to facts; most of the time, it's representing the facts in a way that is favorable to your party under a given set of rules. It's a lot more soul-crushing than I thought it would be (I still like the theoretical, academic aspects, so I stick to those areas now)
"I think it is for this reason that many on HN enjoy discussing the law"
Well now we're getting near a pet peeve of mine - the absolute cluelessness about law that most technologists have. Most take one or two paragraphs, read it literally in a way that is beneficial to their prejudices, and call themselves lawyers, using the 'law = algorithm' analogy. I see very little nuanced legal reasoning when it comes to topics nerds like to discuss (look no further than all the nonsense written about the Aaron Swartz case a few months ago, and the idiotic responses when people like Orin Kerr write an actually informed piece about it).