News for hackers. Stuff that matters.
Re:CatalaLang/catala: Programming language for law specifica... by MichaelDickens on Sunday September 17, 2023 @07:02PM (#37550214)
IANAL but from my experience reading laws, they're written in a way that looks like it's trying to replicate programming-language-esque nested logic, but in prose format—instead of using physical layout to establish the relationships between concepts, they use words, which I find more confusing. I would rather read laws written in a more structured format.
Re:CatalaLang/catala: Programming language for law specifica... by OJFord on Sunday September 17, 2023 @07:52PM (#37550593)
You (as a software engineer or similar) have been trained to read the 'more structured format' you'd prefer; lawyers have been trained to read 'prose'.

Don't get me wrong I'd prefer it too, I just recognise it's a consequence of my own education and experience, and if we somehow flipped the switch overnight most lawyers would be completely baffled and pining for the much clearer old way.

Re:CatalaLang/catala: Programming language for law specifica... by sjy on Sunday September 17, 2023 @08:55PM (#37550972)
The US Code is divided into numbered titles, sections, paragraphs and subparagraphs which can link to and incorporate each other by reference. This tree structure is reflected in typographic conventions which visually distinguish operative provisions from headings, indices and editorial notes. Isn't this the same kind of "structured format" as a code repository made up of libraries, modules, source files and functions?
Re:CatalaLang/catala: Programming language for law specifica... by anon291 on Monday September 18, 2023 @01:35AM (#37552581)
If you read almost any state or federal statute, it's usually presented online in a tree format where definitions link to the defining article and referenced articles are hyperlinks to those sections.

It's all very readable.

Re:CatalaLang/catala: Programming language for law specifica... by gilcot on Monday September 18, 2023 @06:29PM (#37562988)
But all structured format use words, and they're many programming language that are prose since COBOL. No one want to write laws in APL or assembly like.
Re:CatalaLang/catala: Programming language for law specifica... by gilcot on Thursday September 21, 2023 @02:51PM (#37602214)
Catala has similar goal than OpenEdge ABL[1] which is prose also.

[1] https://en.wikipedia.org/wiki/OpenEdge_Advanced_Business_Lan...