News for hackers. Stuff that matters.
Re:Literate Programming: Articles by thr-nrg on Thursday May 18, 2023 @12:25PM (#35990334)
And? Knuth also used Pascal for the original Web and TeX. Both are still Pascal programs that get transpiled to C before being compiled. Just because he does something doesn't mean you should copy it religiously.

Web and its derivatives are sufficiently advanced that they suffer from the lisp curse. What in other systems are major fundamental engineering problems - try adding an include in the middle of a c file - in Web derivates are a matter of taste. Do you have a chunk that picks up includes as you need them? Is it a big one at the front or back? It's up to you.

Re:Literate Programming: Articles by cxr on Thursday May 18, 2023 @03:43PM (#35993073)
> And?

And nothing. For programs that are ostensibly meant to be read, Knuth's examples are poor ones.

> in Web derivates are a matter of taste

Dumping a bunch of includes at the top and saying the equivalent of "don't worry about this boring stuff for now; you can skip it if you want" (and thereby compromising the entire LP experiment) is a matter of taste in the way that putting ketchup on a carbonara is.

Re:Literate Programming: Articles by thr-nrg on Thursday May 18, 2023 @06:03PM (#35994751)
Exactly. I'm not vegan so it tastes better.