5 ms·
I like your comment. But let's take for example JupyterNoteBook. It's nice but not as good Knuth's stuff. Why ? Because the notebook forces you to follow the e
by wiz21c 2y ago
I like your comment.
But let's take for example JupyterNoteBook. It's nice but not as good Knuth's stuff. Why ? Because the notebook forces you to follow the evaluation order whereas Knuth allows you follow your ideas order. Now for the rest, Jupyter is simply much better. But fundamentally, JNB can't match Knuth's LP flexibility.
So I'd say that JupyterNotebooks are really nice to explain a recipe but LP is better at explaining ideas (more like algorithms).
However, usually algorithms presentations have more to do with ideas, concepts. And thus, one may wonder if even bothering writing an LP document is necessary since the core ideas don't actually need code to be explained).
So-so... :-)
- fanf2 2y agoWRT modern tooling, I was thinking more in terms of languages like Haskell that don’t constrain the order of presentation so much, or tools like rustdoc that embrace hypertext and allow the reader to choose their own adventure.
- leephillips 2y agoThis is solved by the Pluto notebook, which makes presentation order independent of execution order. Only works for Julia, but shows that such a notebook is possible. https://lwn.net/Articles/835930/ https://lwn.net/Articles/835930/
- snops 2y agoMarimo does this for python, by tracking dependencies. https://marimo.io/ https://marimo.io/
- wiz21c 2y agoThanks, didn't know about that tool. Will try !
- wiz21c 2y agoThx! didn't notice that pluto had this feature (I used it like a Jupyter notebook, shame on me :-) )
- zelphirkalt 2y agoDo you happen to have any example that shows LP in Pluto? The site you linked does not show it, at least looking at the screenshots, I don't see anything like I would have in org-mode using org-babel.
- leephillips 2y agoNo, not specifically. But I think it’s pretty obvious how to put it to that purpose.