The idea of literate programming is to combine program code with explanation in a natural language, so that the entire source code can be read as an explanation of how the program is constructed and what it does. Literate programming is useful in a wide range of areas:
you can write literate scripts to document how a library works
you can use it to explain the logic behind complex calculations or mathematical models
you can use it to write data analysis that is executable and produces the final report
and as a bonus, you can use it to generate slides for your programming talks!
YOU MAY ALSO LIKE:
- Rethinking Compilers With Live Coding (SkillsCast recorded in August 2018)
- F# eXchange 2023: In-Person (in London on 7th - 8th March 2023)
- F# eXchange 2023: Conference Livestream (Online Conference on 7th - 8th March 2023)
- Haskell: A Conversion Experience (SkillsCast recorded in November 2021)
- Using F# to Structure an Island of Simplicity (SkillsCast recorded in October 2021)
Tomas is a computer scientist and open-source developer. He is a Visiting Researcher at the Alan Turing Institute working on tools for open data-driven storytelling. He wrote a popular book called "Real-World Functional Programming" and is a lead developer of several F# open-source libraries.