"Code as Data"
summary
Pricing moves by encoding formulas as data rather than imperative code: a small expression language of Const/Var/Sum/Product evaluates to a breakdown node tree so every price shows the calculation steps, and a web GUI parses strings with the DParse parser, lets BI edit and dry-run two columns, then commit a versioned formula. Implementation yields immediate readable breakdowns, removes developer gates for formula changes, supports translating expressions to Ruby, Sequel, or LLVM for performance, and the demo shows it working end-to-end.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:00Pricing algorithm
- 4:30Pricing issues
- 10:00Nodes
- 15:00GUI
- 18:40Parse
- 24:00Versioning Locking
- 26:17Compile
- 27:47Takeaway 1 Code as Data
- 28:35Takeaway 2 Try Novel Approaches
- 29:06Questions
related talks
36mCode as Data: How data insights on legacy codebases fill the knowledge gap in modernization projects
53mCode Generation: ....
25mCode is a User Interface
39mSpreadsheets for developers
26mBusiness Intelligence as Code
22mA New Way to Build for the Web
38mThe Gamma: Programming Tools for Data Journalism
32mThe journey from home-brew analysis scripts to a product
