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-Thread: 103376,c58a5b8372dc24a0 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: confusion with string initialization Date: Tue, 27 Apr 2010 11:08:36 +0200 Organization: Jacob Sparre Andersen Message-ID: <874oixmfe3.fsf@hugsarin.sparre-andersen.dk> References: NNTP-Posting-Host: 94.191.131.153.bredband.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: munin.nbi.dk 1272359318 759 94.191.131.153 (27 Apr 2010 09:08:38 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 27 Apr 2010 09:08:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:P/Q7gAOUoD4iosgEW1H2qQWDGiA= Xref: g2news2.google.com comp.lang.ada:11202 Date: 2010-04-27T11:08:36+02:00 List-Id: J-P. Rosen wrote: > Colin Paul Gloster a �crit : >> Why did you consider a book which makes which packages things are in >> unclear by mutiliating programs by means of the USE keyword to be >> excellent? > > Because it makes lisibility a lot better by drawing attention of the > reader on what actually the thing does, and getting rid of useless > information that you can find easily by clicking on the identifier and > selecting "go to declaration". > > (Ok, Ok, I'm a bit provocative here, but I'm tired of seeing people > jumping on beginners and insisting on a notation that can drive them > away of the language screaming). When I taught Ada, I tried to avoid "use" (at least for newly introduced packages) in my notes for the students. But at the same time I encouraged the students to use "use" in a sensible - and not quite so limited way - in their own code. This seemed to work reasonably well. But simply referring the students to a "go to declaration" feature in their editors might also be a solution, once the code is in an editor. Greetings, Jacob -- Those who can't laugh at themselves leave the job to others.