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,ASCII Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Fri, 07 May 2010 17:46:09 +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=iso-8859-15; 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:11375 Date: 2010-05-07T17:46:09+02:00 List-Id: Le Fri, 07 May 2010 16:25:37 +0200, Robert A Duff = a =E9crit: > And teaching beginners how to instantiate generics, > when there's a simple 'Image feature, is not a good idea. Mhhhh... don't agree. 'Image is a kind of hidden genericity, and student= s = would get more benefit in learning the explicit one. Student will get mo= re = learning to instantiate generics which are used every-where, better than= = thinking the purpose of the language is to provide them tricky candies t= o = quickly do this and that and that using Ada there are expected to play = with or think about such tricky things. Generic instantiation (or user defined functions for user defined types)= = is a more proper way to reach the OP's given expectation than using an = 'Image, which as Jean-Pierre said, should be reserved for quick and dirt= y = stuff. 'Image is not a big deal of the language, that's its purpose. Forgive me for these wording I don't like : starting to have heavy = requirement on the 'Image attribute would be the start of bloating and t= he = start of Ada as a library instead of Ada as a language and as a design = language.. -- = No-no, this isn't an oops ...or I hope (TM) - Don't blame me... I'm just= = not lucky