Walker Griggs
10/21/2024, 4:14 PMKartik Agaram
Kartik Agaram
Walker Griggs
10/21/2024, 10:08 PMWalker Griggs
10/21/2024, 10:10 PMWalker Griggs
10/21/2024, 10:11 PMWalker Griggs
10/21/2024, 10:11 PMKartik Agaram
I'm actually less concerned with it being easy to run and more concerned with it being easy to read.Yeah, my claim is that this is a false dichotomy. Reading and running are both contributors to helping build a mental model of a program in someone's head. Reading without running runs into all the Bret Victor criticisms we know and love here. There are a few different LP systems out there. I've built one myself and know of several more by just people in my circle. This page is one list. But they haven't caught on much, and I think it's because conflating code with books pulls in considerations from the publishing industry that don't actually help build mental models in people's heads. Literate programs look like blog posts, and reading them doesn't actually get people to engage actively with them. If you separate them from the publishing angle with its irrelevant constraints, other form factors seem more promising: • Textbooks in the context of some formal class, with exercises. (Your link above seems to be in this category.) • Documentation in the context of a specific program. These kinds of circumstances are why in the past year I've started to care more about running first before I even start reading. If you can run it, the reading experience can be more fault tolerant, and it can be more economic to provide. I get the sense I might be talking past you, so definitely let me know if I'm misunderstanding your question.
Kartik Agaram
Konrad Hinsen
10/22/2024, 6:25 AMJack Rusher
10/22/2024, 8:02 AMAlex McLean
10/23/2024, 10:46 AMAlex McLean
10/23/2024, 10:50 AM(x ^ y) % 9 == 0
is easy to understand as code but when you run it you get something in a completely different domain with effects and relationships that you couldn't have predictedAlex McLean
10/23/2024, 10:52 AMAlex McLean
10/23/2024, 10:52 AMAlex McLean
10/23/2024, 10:53 AMKartik Agaram
Kartik Agaram
Computer programs are complex systems so it is impossible to understand them just by reading them.It is arguably also impossible to understand most programs today just by running them.
Kartik Agaram
Beni Cherniavsky-Paskin
10/27/2024, 4:53 PMWalker Griggs
10/28/2024, 7:59 PMWalker Griggs
10/28/2024, 8:00 PM