3 ms·
I understand what Knuth means by literate programming and I personally like doing it for some pieces of my code so that a few months later I understand what I w
by wudangmonk 5y ago
I understand what Knuth means by literate programming and I personally like doing it for some pieces of my code so that a few months later I understand what I was thinking at the time and either continue or change things because I now know better. The same way one might write their mind in a journal and cringe at the content years later.
Seibel seems to have taken the literate part of literate-programming too literately with his reading club and not expecting to implement at least a toy version of the code to understand it.
This is why I compared it to a math book, in that it is also a book that is read but to really understand something one must work out some of the problems. I did not mean that a program is like a math book, I meant that a literate-program is like a math book because it adds some context to the math inside. I think a program itself is like math with no context where you have to reverse engineer what its doing by guessing what the person who wrote it was trying to do.
- emodendroket 5y agoWell, I agree that it makes a lot of sense as a pedagogic tool. But I thought the claim was more expansive than that.