in reply to An Introduction to Literate Programming with perlWEB

Like many programmers, I tried out Literate Programming because Knuth seemed to like it. I read the book, I tried the tools... and it never worked for me.

Many years later, I saw an analysis of why literate programming never caught on (I need to find the reference). The analysis could be summed up in three points.

  1. A finite number of people can write code well
  2. A finite number of people can write prose well
  3. Literate programming is only useful for the intersection of those two sets.

Despite more than a decade learning to write more understandable code and better prose, I've never reached the point of being able to do both simultaneously well enough to be worth the other overhead of literate programming.

But, then again, maybe this old dog just can't learn a new trick.<shrug/>

G. Wade
  • Comment on Re: An Introduction to Literate Programming with perlWEB

Replies are listed 'Best First'.
Re^2: An Introduction to Literate Programming with perlWEB
by pdcawley (Hermit) on Jan 19, 2009 at 16:16 UTC

    I contend that set 1 is very nearly a proper subset of set 2.

    I'm still not a fan of Literate Programming though.

      I can't agree.

      I don't feel like I write English very well, but I consider myself a decent programmer. I've known quite a few programmers who could write very readable code, but their prose was an absolute mess.

      But, different people have different experience.

      G. Wade