2 ms·
Very nice article. Literate programming might have some interesting features in this direction. The not so obvious thing is how it can scale. A very good examp
by vineek 4y ago
Very nice article. Literate programming might have some interesting features in this direction. The not so obvious thing is how it can scale.
A very good example of literate programming can be found in the fantastic book Physically Based Rendering [1]. It also has a preface discussing it [2].
The authors write a full physically-based rendering system in a declarative fashion. This approach has also led to a nicely adapted web-based version of the book [3].
Although we have successful examples like TeX and HTML, it would be very interesting to see this approach explored further by a more modern language or programming methodology.
[1] https://pbrt.org/ https://pbrt.org/
[2] https://www.pbr-book.org/3ed-2018/Introduction/Literate_Programming https://www.pbr-book.org/3ed-2018/Introduction/Literate_Prog...
[3] https://www.pbr-book.org/3ed-2018/contents https://www.pbr-book.org/3ed-2018/contents