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)
- Functional Concurrency in .NET with C# and F# with Riccardo Terrell (Online Workshop on 11th - 14th October 2022)
- F# eXchange 2022: Online (Online Conference on 25th - 26th October 2022)
- F# eXchange 2022: In-Person (in London on 25th - 26th October 2022)
- Haskell: A Conversion Experience (SkillsCast recorded in November 2021)
- Using F# to Structure an Island of Simplicity (SkillsCast recorded in October 2021)
Literate_programming.With("F#")
Tomas Petricek
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.