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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5af5c381381ac5a7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Wed, 26 May 2010 22:55:15 +0100 Organization: A noiseless patient Spider Message-ID: References: <4bfd19ba$0$2362$4d3efbfe@news.sover.net> <4bfd5840$0$6874$9b4e6d93@newsspool2.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 May 2010 21:55:16 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="13527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PIof45GPtXDl6wdIFLJON8yJ8lAIrALo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:ZVZc0nhp0LThDW12iZ2pbF1w+mo= sha1:Rq2mFA4jAFafThKsIKGVyBM4d2w= Xref: g2news2.google.com comp.lang.ada:12057 Date: 2010-05-26T22:55:15+01:00 List-Id: "Yannick DuchĂȘne (Hibou57)" writes: > Did you ever heard about Literate Programming ? What do you think > about it in this area ? (possibly with editor support for that) Your earlier remarks about LP reminded me of nuweb (http://sourceforge.net/projects/nuweb/) and my desire to write more extensive unit tests for the Booch Components (http://sourceforge.net/projects/booch95/). nuweb-related work so far at http://public.me.com/simon.j.wright, subdirectory lp/ - bc_tests.w is the web source, .pdf the readable version of it, the .gpr and .ad[bs] files are the generated code. One thing I find is that LP is fine for the overall description BUT you have to get down to the detail at some point and there comes a time when it really doesn't justify a lot of explanation. As an example, section 4.1 in bc_tests.pdf isn't too bad but sections 4.2, 4.3 and 4.4 are just boring. Of course writing unit tests for several different versions of the same concept is going to be boring anyway!