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-17 19:53:21 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.mathworks.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Examples in Docs, was Re: Escape Sequences in Strings Date: Thu, 18 Jan 2001 03:44:02 GMT Organization: Deja.com Message-ID: <945oq2$81c$1@nnrp1.deja.com> References: <93objj$guk$1@nnrp1.deja.com> <93q77h$rr6$1@nnrp1.deja.com> <940f9j$nj2$1@nnrp1.deja.com> <940n0u$tnf$1@nnrp1.deja.com> <942brr$b0t$1@nnrp1.deja.com> <942vqr$sd0$1@nnrp1.deja.com> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Thu Jan 18 03:44:02 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x57.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:4138 Date: 2001-01-18T03:44:02+00:00 List-Id: In article , Brian Rogoff wrote: > I wonder if you learned SML programming from "The Definition > of Standard ML" :-). Yes, it's the only document I ever read to learn ML. > Seriously, I'm pretty amazed that anyone can learn to program > from a typical language spec without examples. Do you think > it is a learnable and teachable skill (do you teach your > students this?), or is it a unique quirk? Well certainly it helps to have a lot of experience in looking at different language designs. I don't think it is a quirk by any means. After all a mathematician does not need examples of what a proof is talking about. Examples can never tell you what the general rules are, they can only illustrate particular cases, and therefore there is a danger of not understanding the generalization. Certainly a BNF grammar is a FAR clearer documentation of syntax than syntactic examples, wouldn't you agree? Sent via Deja.com http://www.deja.com/