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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ea19776e3073a96 X-Google-Attributes: gid103376,public From: swhalen@netcom.com Subject: Re: C/C++ programmer giving Ada95 a chance -- writing an emulator. Date: 2000/03/30 Message-ID: <8c0fmq$lm9$1@slb6.atl.mindspring.net>#1/1 X-Deja-AN: 604515991 References: <38e148e2.5089627@news.shreve.net> <38e19656.17008608@news.shreve.net> <8btrv3$p8d$1@slb7.atl.mindspring.net> <8bu3g1$311$1@nnrp1.deja.com> Organization: ? User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (SunOS/4.1.4 (sun4m)) Newsgroups: comp.lang.ada Date: 2000-03-30T00:00:00+00:00 List-Id: Robert Dewar wrote: : swhalen@netcom.com wrote: :> I'm surprised that no one has pointed you to the Ada95 Quality :> and Style Guide (AQS95). : Probably because it seems a surprise to think of this as an : Ada 95 text book, it does not have much to say about rules of : the language, it is more about style rules. I suppose it does : have some useful examples, but learning by example alone seems : dangerous to me. I don't really think of it as a text book and would not recommend it over Barnes or any of the real text books. However it has a few things to recommend it: - it's free and immediately available over the net for those just starting out in Ada who aren't sure they want to invest in any books - it is written such that experienced programmers will be able to see the "preferred" idiom for doing various common and some not so common things the "Ada way" - experienced programmers who are wondering "why" certain features of the language are the way they are, may get some quick insights into why certain language features are the say they are. I know that more than once I've had a minor epiphany from an example in the Ada83 or Ada95 style guide by seeing from one of those examples something it hadn't occurred to me to do. The examples in the AQS are to me more accessible than many of the text books because it's much shorter and to the point. In many ways, it says: "if you're not using this idiom, you're not taking full advantage of the language" (my gross oversimplification, not flaim bait). - I don't advocate learning by examples _alone_, but I think when experienced programmers are starting out to learn a new language, examples can give them a "hook" to begin relating some of the features of the new language to their experience (or begin to realize that something is new to them). -- {===--------------------------------------------------------------===} Steve Whalen swhalen@netcom.com {===--------------------------------------------------------------===}