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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3885b7fd66a1db28 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-04 16:50:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!chi1.webusenet.com!c03.atl99!cyclone2.usenetserver.com!news.webusenet.com!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-text.cableinet.net.POSTED!53ab2750!not-for-mail User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: Why is Ada a good choice for an ambitious beginner to programming From: Bill Findlay Newsgroups: comp.lang.ada Message-ID: References: <5ad0dd8a.0212210251.63b87aba@posting.google.com> <3e140e05.3654845@news.demon.co.uk> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Date: Sun, 05 Jan 2003 00:50:34 GMT NNTP-Posting-Host: 80.195.52.70 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news-text.cableinet.net 1041727834 80.195.52.70 (Sun, 05 Jan 2003 00:50:34 GMT) NNTP-Posting-Date: Sun, 05 Jan 2003 00:50:34 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:32551 Date: 2003-01-05T00:50:34+00:00 List-Id: On 4/1/03 22:55, in article av7olt$gh9$1@bunyip.cc.uq.edu.au, "David Wright" wrote: > > "Bill Findlay" wrote in message > news:BA3A5BF1.177F%yaldnifw@blueyonder.co.uk...: > > : It was interesting to stand in the lab and watch CS (Ada) and EE (Pascal) > : beginners working side by side. One day, about week 6 of term, the CS > : students (using GNAT and AdaGraph) had nearly all successfully written a > : program that animated balls bouncing around in a box. The EE students (using > : Turbo) were nearly all grappling unsuccessfully with a trivial text-oriented > : read-process-output loop. > > Hi Bill, > > You've convinced me; but the CS students (using GNAT > and AdaGraph) were enrolled in a formal course ... So were the EE students. In fact, they were enrolled in a programming module taught by CS. (I was not teaching either group BTW). But I don't want to make too much of this. Certainly there were other significant differences between the groups that accounted for much of the disparity, but I'm quite sure the EE group would have made better progress with the easier language (i.e. Ada). That's the irony. > How can the self-learner find such interesting > graphical programming projects in Ada? Well there is nothing Ada-specific about them. The same exercise could have been done in Pascal. > NB!! Is there a particular text that you would > recommend for this particular ball/box exercise and > similarly engaging graphical forays? I'm not a graphics expert, so I would just look to a basic computer graphics text as a source of ideas. Others may be offer a more concrete suggestion. Why not look at LOGO and LogoMotion(?) to see what's done there & try to reproduce it? > Incidentally, graphics programming is immediately > engaging for a beginner for obvious reasons. So is audio (especially music) processing, although the APIs are not well supported in beginner-friendly software. > This is not a plug for LM and I would like to stay with > Pascal or Ada if I can get to grips with some exercises > that inject some colour and fun into the process of > learning (e.g., the ball/box graphics exercises). If you are using GNAT on a Wintel system, all you need to get going is the AdaGIDE IDE and the AdaGraph library package (and some neat ideas 8-). -- Bill-Findlay chez blue-yonder.co.uk ("-" => "")