comp.lang.ada
 help / color / mirror / Atom feed
From: "Samuel T. Harris" <samuel_t_harris@Raytheon.com>
Subject: Re: Top 10 Language Constructs (Ada)
Date: 2000/07/14
Date: 2000-07-14T00:00:00+00:00	[thread overview]
Message-ID: <396F6C9D.692FD8C8@Raytheon.com> (raw)
In-Reply-To: 8kmjja$l5h$1@pollux.ip-plus.net

Bruno Gustavs wrote:
> 
> What do you think are the top ten language constructs in Ada?
> Please don't answer in terms of OO concepts, but try to restrict
> yourself to those statements you really use to cope with your
> daily work.
> 
> Curious why I'm asking this question? In spite of all requirements
> engineering effort we know exactly *how* to solve problems
> with computer languages but know fairly, *what* we're doing
> during this process.
> 
> Regards
> Bruno Gustavs

My number one is block statements.

Being able to arbitrarily introduce a new declarative region
has been invaluable to me in avoiding numerous kinds of coding
errors. Having to place all working variables within the subprogram
declarative region can cause many kinds of problems. The more
complex the subprogram the greater the need. There are also
many situations where one simply does not have enough information
to satify a variable declaration (e.g. string constraints)
until later in the algorithm.

The localization of the scope of temporary variables is a very
attractive style of coding for me. The different logic paths
within the algorithm need only concern themselves with just
the variables each needs. Less clutter, less fuss, less muss!

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Aerospace Engineering Services
"If you can make it, We can fake it!"




  parent reply	other threads:[~2000-07-14  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-14  0:00 Top 10 Language Constructs (Ada) Bruno Gustavs
2000-07-14  0:00 ` Andrew Hately
2000-07-14  0:00 ` Samuel T. Harris [this message]
2000-07-15  0:00   ` Simon Wright
2000-07-18  0:00     ` Nick Keighley
2000-07-14  0:00 ` David Kristola
2000-07-15  0:00 ` Marc A. Criley
2000-07-16  0:00   ` David Botton
2000-07-18  0:00   ` David Kristola
2000-07-18  0:00     ` Stefan Skoglund
2000-07-18  0:00     ` Scott Ingram`
2000-07-18  0:00     ` Bill Brennan
2000-07-18  0:00       ` Dr. Joachim Schr�er
2000-07-19  0:00         ` Bill Brennan
2000-07-18  0:00           ` Scott Ingram`
2000-07-21  0:00         ` Keith Thompson
2000-07-25  0:00           ` Keith Thompson
2000-07-25  0:00           ` Dr. Joachim Schr�er
2000-07-25  0:00             ` Florian Weimer
2000-07-26  0:00             ` David Kristola
2000-07-19  0:00       ` David Kristola
2000-07-24  0:00   ` Richard Riehle
2000-07-26  0:00     ` The Ada type model (was Re: Top 10 Language Constructs (Ada)) Marc A. Criley
2000-07-15  0:00 ` Top 10 Language Constructs (Ada) David Botton
replies disabled

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