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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Fri, 07 May 2010 22:51:30 +0200 Organization: Ada At Home Message-ID: References: <4be417b4$0$6992$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: USAyO1MNnUeFapd/hHloTg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11393 Date: 2010-05-07T22:51:30+02:00 List-Id: Le Fri, 07 May 2010 22:31:47 +0200, Robert A Duff = a =C3=A9crit: > Note that I said "beginners", not "students". > > [...] > > A beginner needs to learn how to write a "Hello, world" program > first, and soon thereafter, some simple thing that involves > printing out integer values. I think one of my first assignments > way back when was to write a program to add up two numbers > and print out the answer. If that's hard, it gives a bad > first impression. (In fact, it WAS hard -- it involved > horsing around with Fortran FORMAT statements and Hollerith codes, > which is worse than horsing around with Ada generics.) > > [...] > > Yes, Ada students need to learn about generics -- eventually, > not in the first week of class. There's just no way a > beginning programmer can understand generics in the first week. > > Simple things should be simple. > So (especially if you're a teacher), just provide them a package with = useful stuffs of the like. This is how I first switched from a Pascal = dialect to Ada 95 : I could understand somethings, found it was not so = much easy at first glance, but still could create a package with = functionalities inspired from what's provided with typical Pascal progra= m = ; then later just dropped this. The pending question may be now : when should students or beginners be = able to understand the concept of using an =E2=80=9Cexternal=E2=80=9D co= mponent ? Perhaps = they should not start typing anything prior to that, and should start = learning, at the very beginning, listening someone recounting them nice = = and happy stories involving basic abstraction principles :) -- = No-no, this isn't an oops ...or I hope (TM) - Don't blame me... I'm just= = not lucky