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,fef3ad775ef4b0b7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: Ada for 1st year students Date: Sun, 12 Oct 2008 02:06:14 +0100 Message-ID: References: <60e0c5f0-1e17-4add-b21e-b1ef622d5233@v13g2000pro.googlegroups.com> <6gj2s5-0f9.ln1@newserver.thecreems.com> <543356bc-7862-45d2-9004-dfef69deab26@79g2000hsk.googlegroups.com> <3m65s5-33u.ln1@newserver.thecreems.com> <606df221-6074-4732-b5e7-de74700b3e9a@t41g2000hsc.googlegroups.com> <158iljyiunpyy$.172hhzc98hoef$.dlg@40tude.net> <9955de2c-f74a-4c2b-b513-56c130a5f1ee@k16g2000hsf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net FGGVvqwo0JXj5AU7fD24IQ+E29K/AEcXb2XMBRvEYKN4f3xXZ7 Cancel-Lock: sha1:hG5xkvLzGQD+Z9ScZ0GUPVkcvnI= User-Agent: Microsoft-Entourage/12.12.0.080729 Thread-Topic: Ada for 1st year students Thread-Index: AcksBrjhKw+U5g1p/02clRPJB5D2Og== Xref: g2news2.google.com comp.lang.ada:8069 Date: 2008-10-12T02:06:14+01:00 List-Id: On 12/10/2008 00:37, in article YKhi7cZjiT8IFwIr@ada-augusta.demon.co.uk, "Mike H" wrote: > In message > <9955de2c-f74a-4c2b-b513-56c130a5f1ee@k16g2000hsf.googlegroups.com>, > amado.alves@gmail.com writes >> And for starting they will even use a package that predeclares >> variables I, J, K, L, M as integers, X, Y, Z as reals, etc. That's my >> approach anyway, logic first, types later. They just include the >> package and voila, by magic, all the variables in the pseudocode are >> there for usage in the same way. Later I will explain this magic, by >> looking inside the package, and then they will redo their programs >> sans that package. Amado, to remove spam I filter out all messages from gmail (etc), so I do not see your original posts, but I have to say that I think this is daft. Apart from anything else, they should be declaring variables with suitable subranges, right from day 1. -- Bill Findlay chez blueyonder.co.uk