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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fef3ad775ef4b0b7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!h2g2000hsg.googlegroups.com!not-for-mail From: Gene Newsgroups: comp.lang.ada Subject: Re: Ada for 1st year students Date: Mon, 13 Oct 2008 16:17:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: <60b5c5b2-dc04-42ce-8fff-9faee7732aca@h2g2000hsg.googlegroups.com> References: <60e0c5f0-1e17-4add-b21e-b1ef622d5233@v13g2000pro.googlegroups.com> <6gj2s5-0f9.ln1@newserver.thecreems.com> <543356bc-7862-45d2-9004-dfef69deab26@79g2000hsk.googlegroups.com> NNTP-Posting-Host: 74.44.132.185 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1223939836 9009 127.0.0.1 (13 Oct 2008 23:17:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Oct 2008 23:17:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h2g2000hsg.googlegroups.com; posting-host=74.44.132.185; posting-account=-BkjswoAAACC3NU8b6V8c50JQ2JBOs04 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8096 Date: 2008-10-13T16:17:16-07:00 List-Id: On Oct 11, 9:35=A0am, amado.al...@gmail.com wrote: > I share your stance on the usual GUIs being too distracting. Note I > require simplicity, even limitedness, to avoid that. Like turtle > graphics. But I want a couple input gadgets. Actually I was thinking > of a fixed panel with a couple buttons, textboxes, and an output > frame, and the studends only change the names of these components, and > the API is totally imperative. Maybe next year... In the meanwhile, I > think I'll go with AdaGIDE and JEWL. We publish a very simple Ada turtle graphics written over GtkAda that has a split window with graphics on the left and a console on the right hand side. There is a replacement interface for Ada.Text_IO that writes and reads text strings in the right hand panel. Mouse input works in the left hand window. There are a couple of sample programs. If you want buttons, you can easily implement simple ones yourself, which has value of its own. We have used this in a CS1-type course for a few years with good results. It runs equally well over Windows or Unix. IMO the most valuable thing about this package is that the programmer does Get/Put style I/O (even for the mouse) rather than handling events. Event-handing is too much for many beginning programmers to understand because the handlers can be called in arbitrary orders. They need to figure out what sequential execution is before they should have to deal with that extra complexity. See http://www.eecs.usma.edu/research/ . Incidentally, we will move away from Ada in CS1 over my dead, cold body.