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,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61c8636ef35379d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-15 19:42:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!oleane.net!oleane!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: peter_richtmyer@my-deja.com Newsgroups: comp.lang.ada Subject: Examples in Docs, was Re: Escape Sequences in Strings Date: Tue, 16 Jan 2001 03:30:58 GMT Organization: Deja.com Message-ID: <940f9j$nj2$1@nnrp1.deja.com> References: <93objj$guk$1@nnrp1.deja.com> <93q77h$rr6$1@nnrp1.deja.com> NNTP-Posting-Host: 205.181.169.7 X-Article-Creation-Date: Tue Jan 16 02:57:05 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT) X-Http-Proxy: HTTP/1.1 inktomi[CDB5A907] (Traffic-Server/3.0.7 [uNc s f p eN:tOc i p s ]), 1.1 x61.deja.com:80 (Squid/1.1.22) for client 205.181.169.7 Xref: supernews.google.com comp.lang.ada:4040 Date: 2001-01-16T03:30:58+00:00 List-Id: Robert Dewar said: > Note: for my own taste, I hate to present-by- example, and I > hate examples, but my experience is most people like examples. > For instance, most people want MORE examples in the RM, I > regard them as irritating redundant (well hopefully redundant) > non-normative junk :-) This statement surprised me a little at first. I always enjoy reading your comments (Unless you are *bashing* one of my comments.) :-) I have saved a comment of yours where you said that you *liked* to document code, and encourage others to do so. You said that, if you do it enough, you can get to enjoy it (or words to that effect.) Putting examples in documents is somewhat similar to putting comments in code. It is not necessary, but it sure makes it easier for the readers. But then, I have written documents that I thought were pretty clear, only to find that others needed examples to understand them. And yet I am like those people. I like good examples in the documents and *good* comments in the code. In either code or documents, the author (almost) always knows what he is saying. But code and documents should be written for the reader. (Yes, I know that that is not an original thought on my part). :-) (Of course, code is written for the compiler too) :-) My best regards, Peter Sent via Deja.com http://www.deja.com/