2 ms·
More importantly, TeX resulted in the concept of "Literate Programming" as exemplified by the books: _TeX: The Program_ and _METAFONT: The Program_ I've fou
by WillAdams 2y ago
More importantly, TeX resulted in the concept of "Literate Programming" as exemplified by the books:
_TeX: The Program_
and
_METAFONT: The Program_
I've found that LP allows me to be successful working on projects which are more complex and of greater length than other tools allow me to --- worst case is I find myself reading through a nicely typeset hyperlinked PDF until I understand the code I need to modify and am then able to control/command click to go right to it in the editor.
I've been trying to put together a list of Literate Programs published as books:
https://www.goodreads.com/review/list/21394355-william-adams?ref=nav_mybooks&shelf=literateprograms https://www.goodreads.com/review/list/21394355-william-adams...
- graycat 2y agoKnuth's "Literate Programming"???? NO WAY!!! Not a chance!! I won't mention that one!!!! It appears that all the overt, happy, productive literate programming people get banished to, to where, to, maybe, Antarctica, under one of the ice sheets, naw, the back side of the Moon!!! E.g., for a sample of just 1, the little piece of code I'm working on now, just had my favorite text editor KEDIT count, has (hush, secret) 387 lines of comments in a file of 840 lines. And one of my worst transgressions of solid, world-wide norms, I have no undefined technical terms or acronyms. And for this code, I have an external document on the architecture -- for that transgression, could be sent to Pluto???
- WillAdams 2y agoI wish that I was a better programmer, so could be a better advocate for this programming style. I wish that there were more standard tools for it --- it kills me that I couldn't find a nice .layout for doing Literate Programming in LyX w/ arbitrary programming languages. I'm just glad that my using this system lets me overcome hurdles/complexity beyond levels which previously posed insurmountable stumbling blocks --- at a previous job there was a typesetting back-end for phone book ads which I had written in LaTeX using a documented TeX file (.dtx) --- once a year or so they would sell a license to a new customer and I would have to update it to their needs, and every quarter or so there would be a bug report... being able to read through the code would quickly get me in a place where I could fix things and then move on to the next task. Current effort is at: https://github.com/WillAdams/gcodepreview https://github.com/WillAdams/gcodepreview At some point in time I need to look into if using Lua would allow some niceties such as per-file line # tracking...
- metaed 2y agoThe answer to "where" is <news:comp.programming.literate> and <https://www.reddit.com/r/LitProg/ https://www.reddit.com/r/LitProg/>.