by kijeda · 13y ago · 0 comments
I would say the two professions are more alike than credit is given, and working as a programmer in a lawyer-heavy firm, I've often been told by those in the legal profession that programmers have the ability to think logically stepwise through law more clearly than others.
I think it is for this reason that many on HN enjoy discussing the law (of course it does have many other practical consequences as well). And although OP did the opposite, I would encourage many technical minded people to consider law as an option - much of the reason that laws suck for technology is because the people who work with the law on a daily basis do not understand the technology, and it would be great if we had more general tech literacy in the legal profession.
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).
but that's another topic, it was as you said at least more informed than the average person (but disappointing for a law professor and former CAFA prosecutor/defender).
and just to add to this conversation, I will have my law degree in a month and I'm just now starting to learn programming. I plan to use it in conjunction with things like Latex for building better briefs, building a robust issue bank, etc... - things that will enable me to be a better lawyer in practice.
The purpose of testing, though oft missed due to the name we have given it, is to document your code. The tests explain intent, usage, etc. that can often not be conveyed by the code alone. Verification that the documentation does what it claims comes as an added bonus, of course, and is why we recommend testing over writing comments. Though comments can also be useful in certain situations – right tool for the job and all that.
I feel like law could benefit greatly from something that mirrors TDD, not only to help convey intent of the law, which is information often lost as years pass, but also to help third-parties better understand what the law says. The exact same reasons why we write tests for code. Starting to write that documentation after the code is already in production, so to speak, seems too late.
In common law countries, the entire process of law is actually a black box functional test. And again: that's the only test that counts. Everything else might be wrong.