Law & Programming: More Similar Than You Think?
How code and legal reasoning share a common language—and why that matters for the future of law.

Law & Programming: More Similar Than You Think?
At Castilho we are fascinated by the structured logic that underpins both law and programming. In our legal practice, we apply computational thinking to analyze complex issues, leveraging AI and automation to enhance efficiency.
Recently, our Partner Luís Castilho had the chance to participate in an article written by the brilliant Roger Graves (Chief Technology Officer, Cloverpop by Clearbox Decisions) and had the opportunity to discuss these ideas with him. It reinforces what we have observed firsthand—law and coding share a common foundation of logic, precision, and rule-based systems.If you’re interested in how structured thinking and technology are reshaping the legal profession, this is a great read (it will just take 2m of your time).
You car read it here.