3 ms·
I started practicing literate programming recently, and I don't think I can go back to writing code like I used to. So I get excited when I see projects like th
by cmontella 10y ago
I started practicing literate programming recently, and I don't think I can go back to writing code like I used to. So I get excited when I see projects like this. I especially liked the quote by Knuth on the knitr page:
> Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to humans what we want the computer to do.
This is exactly what we're trying to do with Eve [1]. Right now we're commonmark compatible, so we support the same kind of workflow as this project: write markdown as usual, code blocks are executable Eve code. For example, here's an implementation of TodoMVC written as a literate program [2].
[1]: https://github.com/witheve https://github.com/witheve
[2]: http://incidentalcomplexity.com/2016/08/19/todoMVC/ http://incidentalcomplexity.com/2016/08/19/todoMVC/