On Thu, Mar 15, 2007 at 03:16:47PM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [slightly OT] New O'Reilly book features Matz" > on Thu, 15 Mar 2007 12:25:32 +0900, James Edward Gray II <james / grayproductions.net> writes: > > |> I am against "literate programming" in a sense Don Knuth did in his > |> Web system. > | > |Can you expand on what you mean by that Matz? I'm just curious. > > Knuth's Web is the system he developed for literate programming (it's > not World Wide Web, just coincidence). One can generate both document > for the algorithm and working code to compile (Pascal in original Web) > from one source with special mark-up. > > He's idea is retrieving programs from document. Mine is making > programs to tell what they do, by choosing proper programming > languages. In other words: literate programming is "documentation as code", and your preference is "code as documentation". Yes? I tend to share that preference. I've looked into "literate programming" a little bit, and found it unnecessarily byzantine in practice. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] unix virus: If you're using a unixlike OS, please forward this to 20 others and erase your system partition.