From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,HEADER_SPAM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1032a1,4f5d9fdcc65429b5 X-Google-Attributes: gid1032a1,public X-Google-Thread: 103376,4f5d9fdcc65429b5 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada and Literate Programming Date: 2000/05/13 Message-ID: <391dad92@pfaff.ethz.ch>#1/1 X-Deja-AN: 623021481 References: <8f6iue$pu5$1@news.fas.harvard.edu> <39171625@pfaff.ethz.ch> <8f7e1a$uce$1@news.fas.harvard.edu> <%X5S4.4606$Ip.157706@cac1.rdr.news.psi.ca> X-Trace: 13 May 2000 21:31:30 +0100, chimborazo.ee.ethz.ch Organization: Deja.com - Before you buy. Newsgroups: comp.lang.ada,comp.programming.literate Originator: neeri@chimborazo.ee.ethz.ch Date: 2000-05-13T00:00:00+00:00 List-Id: In article <%X5S4.4606$Ip.157706@cac1.rdr.news.psi.ca>, Sven Utcke wrote: > But of course this is just (one of) the point(s) about > literate programming, to give you the tools that allow you to > include pretty pictures and elegant fonts _within_ your > source-code. Maybe you should have a look at the FAQ in > comp.programming.literate? I won't learn anything there that I don't know (in fact I had a look, and it is all standard stuff!) My whole point is that in practice I think it is a bad idea to put "pretty pictures and elegant fonts" within the source code. Why? Two reasons 1. Some people will get distracted and get more interested in the pictures and the fonts than in the information therein (I am reminded of the beautifully formatted GNARL documentation here :-) 2. The pretty pictures will be far harder to keep up to date with the code, and people will fail in this attempt, resulting in the worst of all bugs -- out of date comments. Yes, in the ideal world, we would have an integrated tool set that everyone knew well that would enable nice WYSIWYG editing of such pictures, all tied into a configuration management system etc etc. But in practice, this is very difficult to get to happen. As anyone who sees my code knows (check for example g-spipat.ads in the GNAT sources). I am rather fanatic on good documentation. I would love to be able to make nice pictures and use pleasant to read fonts in this documentation, but I simply don't see practical systems that support this today. Sent via Deja.com http://www.deja.com/ Before you buy.