Programming for lawyers, the law for programmers
I'm trying to learn how to program and the easiest way for me to understand it is by comparing it to something I understand better. For me, that's the law.
Programmers often use a framework to make their job easier. Legislation is a type of framework and when you're drafting a contract (a program) you can sometimes opt-in to provisions contained into legislation. It makes your job a lot easier as a lawyer, but they will also need modification. This is a very general comparison but it holds true (imo).
Pushing code is similar to having your contract (program, remember) tested by a court.
variables, functions, all these things have their equivalent in the law, but somehow getting the hang of programming seems a lot harder.
Syntactical errors and typos are frowned upon in the law, but they happen all the time and they don't break the whole system
Sigh...
4 comments
[ 1.2 ms ] story [ 16.4 ms ] threadFor me, there was no shortcut. I first learned to program with Abelson and Sussman's book, SICP. Depending on your background, the mathematical bits may not be that useful and are easily skipped. From there, learning the languages du jour are quite trivial, the only exception being low level coding in C or assembly for which the C book by Kernighan and Ritchie and the first volume of Knuth's TAOCP are quite useful.
The computer always runs the same code the exact same way. The courts can be damn near random on many issues.
Thinking of law like programming is a dangerous trap many techies fall into. Its a whole different mode of thought.
Similar to law, that's like leaving something purposely ambiguous and letting the courts sort it out later and get more specific. But with computers, that's nearly impossible and wouldn't produce usable software You can't just write some code intended to run in the browser, and release it and expect the browser to do something sane, reasonable, desired, or even logical after the fact. The testing for intended results needs to happen before the code is released and is "used".