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.
int main(int argc, char **argv) {
<<main-parse-argv>>
// ...
}AFAIK, there are some types of notebooks that allow the use of chunks, but I've never seen people writing in those.