News for hackers. Stuff that matters.
Re:Literate programming: Knuth is doing it wrong by rattaz on Sunday July 08, 2018 @03:03PM (#17485494)
Hi!

Don't waste time on this. It is obvious rubbish. I took the time to follow these first sentences and it led to wasted time. I'm tempted to build a robot to filter this shite out.

"When I look around at the legacy of literate programming, systems to do so-called semi- or quasi-literate programming dominate. These are systems that focus on generating beautifully typeset documentation without allowing the author to arbitrarily order code."

Re:Literate programming: Knuth is doing it wrong by jmiserez on Sunday July 08, 2018 @08:44PM (#17487188)
What is wrong with that sentence? The article looks fine to me.
Re:Literate programming: Knuth is doing it wrong by perl4ever on Sunday July 08, 2018 @10:13PM (#17487503)
Possibly that CWEB did allow arbitrarily re-ordered code, so it seems strained to criticize Knuth on that basis?

The problem I always saw with it is that no ordering is necessarily perfect - there might be different optimums for different purposes.

Re:Literate programming: Knuth is doing it wrong by lallysingh on Monday July 09, 2018 @07:22AM (#17489418)
Did Knuth use the feature?
Re:Literate programming: Knuth is doing it wrong by perl4ever on Sunday July 08, 2018 @10:11PM (#17487493)
I find it interesting that some people do ask themselves if "literate programming" should require reading a lot of code...but then dismiss it.

Maybe it does. As I think about it, when I was first programming, one of the things that I and other people did in those days was to type programs in from magazines. Another influence on me was taking code in one language or for one system and porting it to another. And I certainly read plenty of code by my co-workers during the years I worked as a programmer.

Maybe reading a great deal is and always has been required to be a decent writer. No idea if Knuth has or does.

Re:Literate programming: Knuth is doing it wrong by mastrsushi on Sunday July 08, 2018 @03:21PM (#17485608)
How do posts like this even make it upstream? There's a summer effect going on, this site's getting infiltrated by brain dead pop science morons.
Re:Literate programming: Knuth is doing it wrong by acqq on Sunday July 08, 2018 @02:38PM (#17485360)
(2014)