News for hackers. Stuff that matters.
Re:Ask HN: What's the best source code you've read? by db48x on Saturday September 10, 2022 @05:56PM (#32794882)
I second the nomination. I too have found the TeX Book to be very readable.
Re:Ask HN: What's the best source code you've read? by gjm11 on Saturday September 10, 2022 @10:37PM (#32796375)
Pedantic note, which I'm writing just in case anyone misunderstands your recommendation:

"The TeXbook" is the user manual for TeX. It is not the same thing as the book containing the (literate-program) source code for TeX, which is called "TeX: the program".

(Both are excellent, but in quite different ways, and someone looking for interesting code to read would likely be disappointed by the TeXbook, which doesn't contain that.)

Re:Ask HN: What's the best source code you've read? by db48x on Sunday September 11, 2022 @05:00AM (#32798015)
You’re right! I had to go pull my copy off the shelf and check, but it really is TeX: The Program.
Re:Ask HN: What's the best source code you've read? by drfuchs on Monday September 12, 2022 @10:12PM (#32819999)
Make sure to check out the dedication!