News for hackers. Stuff that matters.
Re:Programming, Evolved: Lessons and Observations by WillAdams on Thursday January 15, 2026 @10:18AM (#46633702)
I've found that the best aid to keeping a mental model of the structure of a project is to document it well using Literate Programming:

http://literateprogramming.com/

which then affords a PDF w/ a ToC, indices, and sidebars and other navigational aids all hyperlinked so as to make moving through the code and its documentation quick and fluid.

Then, when I arrive at the section of code which needs to be updated, the documentation and reasoning about its current state is right there.

Not sure if this scales up to multiple developers though....

Re:Programming, Evolved: Lessons and Observations by son_of_gloin on Thursday January 15, 2026 @01:30PM (#46636930)
Literate Programming would also probably help coding assistants understand the code better and generate better output. Or is that the point you are trying to make?
Re:Programming, Evolved: Lessons and Observations by WillAdams on Thursday January 15, 2026 @01:50PM (#46637250)
No, but that's an interesting adjunct.

Maybe if that takes hold, LP will finally take off?