comp.lang.ada
 help / color / mirror / Atom feed
From: Mike Paley <mike@paley.demon.co.uk>
Subject: Re: Group newbie !
Date: 1996/12/24
Date: 1996-12-24T00:00:00+00:00	[thread overview]
Message-ID: <255823034wnr@paley.demon.co.uk> (raw)
In-Reply-To: 1996Dec22.214856.1@eisner


In article: <1996Dec22.214856.1@eisner>  kilgallen@eisner.decus.org (Larry 
Kilgallen) writes:
:) > God knows why they've chosen Ada - it ain't that popular in the UK!
:) 
:) No doubt you would have learned some more popular language through
:) other methods :-).

Like going out and buying a "popular" compiler and do a DIY job on it. I 
could still do that and use the university as a "front".

:) 
:) > I suppose I'm looking for an Ada manual or user guide or whatever you 
:) > wanna call it stuffed with hard facts. All I'm advised to get (by the 
:) > uni), and books I see in shops are all "flowery"*.
:) > 
:) > The sort of thing I'm after is a book with a chapter devoted to Ada 
:) > statements, one per page (or so), giving an explanation, clear syntax, 
:) > a couple of examples and a list of related or similar statements. The 
:) > statements should be listed in alphabetical order as well.
:) > 
:) > Any really useful pages to point browsers at would be useful as well, 2 
:) > (other thread) URLs noted.
:) 
:) www.adahome.com gives pointers to almost everything Ada on the web.

Noted, for later perusal.

:) 
:) If the books you find reviewed there do not meet your standards,
:) you might have to be more specific and one of the authors (they all
:) seem to post here) will write one more to your needs the next time out 
:-).

It wouldn't surprise me if one doesn't exist already. What do you get when 
you buy an Ada compiler anyway ?

[Probably not a lot since manuals seem to be well out of fashion when you 
buy computers, peripherals or software nowadays.]

:) 
:) Considering that you might not be able to wait that long,
:) give a try at some of what's there.  The actual statements might
:) be of less interest than what you currently see as fluff.

I'm not after interest, I'm after hard facts.

  After
:) all, you _know_ that Ada must have an addition operator, and with
:) a few tries you might even be able to guess what the syntax is for
:) addition.
:) 
:) But what will happen when you try to add two variables containing
:) small integers and the compiler tells you they have different types
:) and cannot be added? 

I made a guess at the type string. It gave an error, so I added a bit more:
string(20) and still got an error. Checked in a recommended book and saw 
fluff. Fortunately, there were answers to problems in the back of the book 
and a few seconds browse through them I found:
string(1..20) - problem solved.

From further investigation, I think I've only scratched the surface of the 
type, but it is far more than they've done at the university.

 At that point, you really should have the
:) background on how Ada handles typing (you knew it was strongly typed,
:) but at some point even the most ardent fan of strong typing will cry
:) "uncle" without that background information).

What do you mean by "strong typing" ?

:) 
:) Another area you might regard as superfluous at the start is all
:) that stuff regarding compilation units and packages, etc.  Do not be
:) fooled. 

I'm here to learn - to find out how Ada works. I'll not ignore facts but it 
is trying to get the facts out of the fluff that's the problem.

 Ada compilers are well trained to complain bitterly over
:) many instances of fuzziness that other compilers would let slide.

Yeah ! it's a shame !

Possibly this is why they've chosen Ada - to stop sloppy practices !

:) Once you have got it right, it is really in your best interest
:) use that piece again later on. 

This one of the points that they do make. Create a piece of code that does a 
job then re-use it where the same thing is needed, sometimes with small 
modifications as necessary.


 That is where separate compilation
:) units, and packages, and especially "generics" are important.

One day I'll look up "generic" in a dictionary and try to remember what it 
says about it !

:) 
:) In summary, for Ada a lot of the things you will need are those
:) you probably don't know you need.  

True of many things !

For looking up specific items,
:) the books tend to be well indexed and the on-line aids have hypertext
:) links everywhere you need.  Many compilers will even quote you the
:) chapter and paragraph number of your alleged language standard violation,
:) or even pop your browser into the relevant page.
:) 
:) Larry Kilgallen
:) 
:) 

Thanks very much Larry, I'll also keep my eye on this group as well :)

-- 
Comm again, Mike. 

MM   MM  EEEEE  RRRR   RRRR    Y      Y     X     X  MM   MM     A      SSS
M M M M  E      R   R  R   R    Y    Y       X   X   M M M M    A A    S   S
M  M  M  E      R   R  R   R     Y  Y         X X    M  M  M    A A    S
M     M  EEEE   RRRR   RRRR        Y           X     M     M   A   A    SSS
M     M  E      R R    R R        Y           X X    M     M   AAAAA       S
M     M  E      R  R   R  R      Y           X   X   M     M  A     A  S   S
M     M  EEEEE  R   R  R   R    Y           X     X  M     M  A     A   SSS

Ex Turnpike user.

If you want to see the rest of this sig. file or find out more about me, 
have a look at http://www.paley.demon.co.uk/ [1996:11:30]






  reply	other threads:[~1996-12-24  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-22  0:00 Group newbie ! Mike Paley
1996-12-23  0:00 ` Larry Kilgallen
1996-12-24  0:00   ` Mike Paley [this message]
1996-12-24  0:00     ` Norman H. Cohen
1996-12-28  0:00       ` john babrick
1996-12-29  0:00         ` Mike Paley
1996-12-30  0:00           ` Norman H. Cohen
1997-01-02  0:00             ` Mike Paley
1996-12-29  0:00       ` john babrick
1996-12-24  0:00 ` Rich Maggio
1996-12-25  0:00   ` Mike Paley
1996-12-27  0:00   ` Mike Paley
1997-01-05  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox