3 ms·
This is not literate programming. Literate programming involves having a meta language that is extended into the target source code through nested macros. The
by konjin 6y ago
This is not literate programming.
Literate programming involves having a meta language that is extended into the target source code through nested macros.
The killer feature was the ability to see everywhere a piece of code was used on dead paper by looking at the auto-generated index, with the chunks being logical rather than language driven. In a literate program you wouldn't care that something was a class or a function, you would just have it be described by what it does, not how it does it.
This is marginally better documentation for python notebooks.
- musingsole 6y agoNo true scotsman. It's more literate programming than not and chasing the promise of the ideal literate programming environment is what created the novel notebook environment in the first place.
- konjin 6y ago1). Notebooks were invented by Mathematica in the 80s. 2). Words have meanings and literate programming is defined extremely well by Knuth in his 1983 paper. This is not what was described there any more than the WWW is Xanadu. 3). That is not what No True Scotsman means.
- contravariant 6y ago> That is not what No True Scotsman means. Setting aside whether you are or are not right, can we just appreciate the irony in that statement for a moment?