Skip to content

Is Rules Learning Curve steep?

💡 TL;DR - Is Learning Curve for Rules Steep? No - Dramatically Reduces with AI and Context Engineering

Experience has shown that not all developers find the declarative rules approach intuitive. They naturally think in procedural terms, which fit well with the programming paradigm.

AI, with extensive Context Engineering, dramatically reduces this. In fact, developers can submit procedural logic, and AI will transpile it into declarative rules.

The payoff: automatic re-use means logic imagined for inserting an order automatically addresses delete order, update order, and insert/update/delete line items. For more on automatic re-use, click here.

 


Procedural Logic

Funny story: early in the development of Context Engineering, I found that the same learning that drove code generation could also drive support. So, I asked my AI Assistant to provide an example of rules:

Procedural Logic
On Placing Orders,
Derive item amount as quantity times Product Price
Add that to the Order Total Amount
Add that to the Customer Balance
Ensure that is less that the Credit Limit

 

Results in Declarative Rules

And here was the result: declarative rules:

proc-decl

With a diagram:

proc-decl