Beyond linear notebooks
Mar 27, 2023

Summary
This post introduces the concept of reactive notebooks and their advantages over traditional imperative notebooks, specifically addressing issues with shared mutable state, interpretability, reproducibility, and performance. It details how Hex implements a DAG-based approach by parsing code to generate a semantic representation and build a DAG of cell dependencies, enabling automatic re-execution and state synchronization. Usability improvements like hiding import edges and merging duplicate edges in the graph UI are also mentioned.