Rules as Code
Monday, September 7, 2020 at 03:21PM
Charlie in Digital Financial Reporting

As explained by Jason Morris, The main idea behind Rules as Code is that government legislation, statutory rules, regulation, and policy can and should be co-drafted in two languages at the same time: (1) in natural human language as it is now; and (2) in a machine-readable and machine-executable language. Both versions of rules would be published side-by-side.

When I say "rules" I include financial accounting rules, financial reporting rules, financial audit rules and such.

Why do this?  There are a number of reasons. 

So, before you jump to any rash conclusions let me clarify some things.  First, what if the natural human readable language and the machine readable language could be the SAME language? Say something like Logical English. Other alternatives would be some visual modeling language or a specially designed language based on the domain.  Second, personally I don't like the term "code".  What I think they mean is to use a declarative logical programming language as contrast to an imperative language. Third, this is not about professionals "learning to code".

For more information about Rules as Code, see: 

 

Article originally appeared on XBRL-based structured digital financial reporting (http://xbrl.squarespace.com/).
See website for complete article licensing information.