4 ms·
Aren't modern notebooks a form of Knuth's style literate programming, are there any differences? True, they are more mainstream in analytics where there's a nee
by jarenmf 5y ago
Aren't modern notebooks a form of Knuth's style literate programming, are there any differences? True, they are more mainstream in analytics where there's a need to explain concepts/results more than the logic of the code itself.
- marcos100 5y agoKnuth's style allows code to be written in any order using named chunks. AFAIK, there are some types of notebooks that allow the use of chunks, but I've never seen people writing in those.
- disgruntledphd2 5y agoOrg babel is the only one that works well, tbh.
- amelius 5y agoModern notebooks are closer to Stephen Wolfram's Mathematica notebooks.
- andreareina 5y agoImplied by arbitrary chunk order, chunks don't need to be stand-alone (or even syntactically valid, but that's probably asking for trouble): int main(int argc, char **argv) { <<main-parse-argv>> // ... }