Hacker News new | past | comments | ask | show | jobs | submit login

I've found that Literate Programming suits how I think/approach projects, and it has worked for some quite large projects in the past for me.

I've been maintaining a list of programs published as books and resources for Literate Programming at:

https://www.goodreads.com/review/list/21394355-william-adams...

esp. see:

https://www.pbrt.org/

and

https://mruckert.userweb.mwn.de/understanding_mp3/index.html

My current project is:

https://github.com/WillAdams/gcodepreview

which uses a LaTeX package for this which I put together with a bit of help from tex.stackexchange --- the big advantage to it is that it allows editing the documentation/code with "normal" syntax highlighting, the disadvantage is that the .sty file has to be edited/updated to match the files which are being output and I still don't have a good setup for the readme.md

I find having the typeset PDF w/ its hyperlinked ToC and marginalia and indices helps a lot in having a "nice" version which I can look through to remind myself of what was intended at a given point, and most importantly, to find _where_ that was written down. Working on a re-write now --- we'll see if this holds up for that.




Awesome links, thank you. I did come across "Physically Based Rendering" at some point, I forgot about it. This is definitely an excellent example of Literate Programming.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: