Out of order execution
Out of order execution
Posted Jun 28, 2023 17:19 UTC (Wed) by SLi (subscriber, #53131)Parent article: JupyterLab 4.0: a development environment for education and research
It's not even like it wouldn't be possible to do this right (though I grant it's likely nontrivial with a language like Python). In my ideal world, notebooks would behave a lot like any modern spreadsheet. Cells have (implicit) inputs and outputs, and when you update a cell, everything that depends on it either gets automatically updated—which is not necessarily a great idea if you have huge datasets and non-deterministic behavior (it might make sense to do this at a sub-cell granularity)—or at least get marked out of date.
Cell order absolutely should matter. Inserting a cell that changes a variable value should affect any cells below it that refer to that variable, and (generally) only those.
