You're probably right, but compared to the DSL that hasn't been specified and that no one has agreed on, Python wins.
The more I think about it, there should be a DSL for all laws. (Something better than the legalese dialect of English, at least.)
The more I think about it, there should be a DSL for all laws. (Something better than the legalese dialect of English, at least.)
I mean, please show me the typedefs for attempted rape and reckless driving.
Most of the time, the interesting cases are about figuring out who's lying, if there was intent, determining what's reasonably expected, how a certain condition might count as an aggravating circumstance etc. etc.
If at least some of the hard work around being a lawyer and being a judge could be codified in a computer and automated , lawyers and judges could be better in the other , harder parts of the legal profession ?
A DSL whose programmers are lawyers and whose interpreters are courts.