Tuesday, September 28, 2021

Literate programming & Notebooks

Literate programming - Wikipedia

Literate programming is a programming paradigm introduced by Donald Knuth in which a computer program is given an explanation of its logic in a natural language, such as English, interspersed with snippets of macros and traditional source code, from which compilable source code can be generated.[1] The approach is used in scientific computing and in data science routinely for reproducible research and open access purposes.[2] Literate programming tools are used by millions of programmers today.

The practice of literate programming has seen an important resurgence in the 2010s with the use of notebooks, especially in data science.

Project Jupyter - Wikipedia

#219 - Donald Knuth: Programming, Algorithms, Hard Problems & the Game of Life | Lex Fridman Podcast