comp.lang.ada
 help / color / mirror / Atom feed
* Ada 9X objectives
@ 1989-09-29  1:59 Bill Wolfe
  1989-09-30 16:59 ` ryer
  0 siblings, 1 reply; 38+ messages in thread
From: Bill Wolfe @ 1989-09-29  1:59 UTC (permalink / raw)



   Ada is now entering the revision process, and much has transpired
   over the last ten years.  Many ideas have emerged, both from inside
   the Ada community (e.g., Hilfinger's ideas to the effect that literal 
   recognition should not be limited to the predefined types, but should
   in fact be definable for user-defined abstract data types as well),
   and from outside the Ada community (notably multiple inheritance).  

   When Ada was first designed, the objective was to provide the maximum
   possible support for good software engineering practices, given what
   was then known about programming language technology.  Unfortunately,
   compiler maturity is just now reaching levels which make the language
   attractive as a production tool, and in the meantime the continuing
   advancement in the theory and practice of programming language design
   have made the delay very costly to Ada's prospects for widespread
   acceptance.  

   Moreover, some persons who have been in a position to observe the
   Ada community seem to be of the opinion that for a significant
   number of members of the Ada community, Ada 83 has become an end
   rather than a means; in their estimation, Ada will fall victim to
   the resistance to change which seems to plague virtually all human
   endeavors.  They cite the recently expressed view that inheritance
   would result in too great a setback for Ada compiler maturity as
   an example, saying that inheritance has already been proven to be
   efficiently implementable and that this is merely a smoke screen
   for resistance to new concepts.  

   Therefore, I would like to pose this question to the Ada community:
   what are the basic objectives of Ada 9X?  Specifically, is Ada going
   to be something that is tied to the idea of maximum support for the
   practice of software engineering?  Is the DoD *really* committed to
   making Ada the primary vehicle of software engineering technology?
   If so, what is being done to close the gap between the dream of 
   widespread Ada use and the reality of the widespread use of COBOL,
   C, C++, and Eiffel instead?  

   I do not mean to imply that tremendous progress has not been made;
   as John Foreman (I believe) recently noted, Ada is much farther along
   than COBOL was at a similar point in its existence.  However, it is
   extremely frustrating to see people choosing C++ and Eiffel instead
   of Ada because of this ten-year revision cycle (and perhaps a bad bet
   that inheritance would not turn out to have a bright future).  It is
   extremely frustrating to see employment advertisements calling for
   knowledge of the likes of C or COBOL, with nary an Ada advertisement
   in sight.  But the worst of all is listening to people assert that
   Ada is obsolescent and will never be able to catch up. 

   As a software engineer, I strongly believe in the Ada dream.  But
   there have been big problems associated with realizing that dream.

   An explicit linkage of Ada 9X to maximum support for the software 
   engineering process, combined with a shortened five-year revision 
   cycle, would go a VERY long way toward making that dream a reality. 
    

   Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 38+ messages in thread
* Re: Question about Ada expressions
@ 1989-10-12 23:37 Karl Nyberg
  1989-10-15 20:35 ` Scott Simpson
  0 siblings, 1 reply; 38+ messages in thread
From: Karl Nyberg @ 1989-10-12 23:37 UTC (permalink / raw)


I had a friend call yesterday after spending five hours trying to figure out
why some C code didn't work based on this expression:

	if (variable & MASK == VALUE)

He mistook the rules of precedence, just as Robert Firth expressed it in his
response.  The K&R book explains this reasoning:

	Note that the precedence of the bitwise logical operators &, ^ and |
	falls below == (test for equality) and !=  (test for inequality).
	This implies that bit-testing expressions like

		if ((x & MASK) == 0) ...

	must be fully parenthesized to give proper results.  [p. 49]

Seems like it was kind of the Ada designers to preclude this from the
language.  Getting an error during compile time would have saved my friend
immense difficulty.  Getting a manual might have helped him, too...

-- Karl --

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~1989-10-15 20:35 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-09-29  1:59 Ada 9X objectives Bill Wolfe
1989-09-30 16:59 ` ryer
1989-10-02 18:00   ` William Thomas Wolfe, 2847 
1989-10-02 20:07     ` William Thomas Wolfe, 2847 
1989-10-02 23:33       ` Translating 83 => 9X (Was: Re: Ada 9X objectives) Ronald Guilmette
1989-10-03 18:14         ` William Thomas Wolfe, 2847 
1989-10-03 20:02           ` Ronald Guilmette
1989-10-05  1:56             ` William Thomas Wolfe, 2847 
1989-10-05 20:35               ` John Goodenough
1989-10-06 16:11                 ` Ada 9X objectives William Thomas Wolfe, 2847 
1989-10-07  1:27               ` Translating 83 => 9X (Was: Re: Ada 9X objectives) Ronald Guilmette
1989-10-08 16:39                 ` Translating 83 => 9X William Thomas Wolfe, 2847 
1989-10-04 18:08           ` Translating 83 => 9X (Was: ryer
1989-10-05 15:29           ` stt
1989-10-08 17:56             ` Modernizing Ada William Thomas Wolfe, 2847 
1989-10-04 13:09       ` Re^2: Ada 9X objectives James E. Cardow
1989-10-04 20:24         ` Ted Dunning
1989-10-05  2:04           ` Ada vs. Scheme William Thomas Wolfe, 2847 
1989-10-06 12:06           ` Re^2: Ada 9X objectives Norman Diamond
1989-10-06 12:50           ` Robert Munck
1989-10-08 17:07             ` William Thomas Wolfe, 2847 
1989-10-10 15:00               ` Robert Munck
1989-10-11 14:47                 ` William Thomas Wolfe, 2847 
1989-10-11 18:13               ` Dick Dunn
1989-10-11 22:14                 ` Question about Ada expressions Perry Schmidt
1989-10-12 10:56                   ` STEPHEN D. STRADER
1989-10-12 12:15                   ` Robert Firth
1989-10-12 22:07                   ` stt
1989-10-13 14:38                   ` horst
1989-10-12  1:11                 ` Ada 9X objectives William Thomas Wolfe, 2847 
1989-10-13 11:05                 ` Markku Sakkinen
1989-10-06 19:00         ` Re^2: " Dick Dunn
1989-10-10  3:26           ` James E. Cardow
1989-10-12  5:09             ` Ada 9X objectives and long development cycles Dick Dunn
1989-10-12 18:16           ` Re^2: Ada 9X objectives Robert Eachus
1989-10-02 21:01   ` William Thomas Wolfe, 2847 
  -- strict thread matches above, loose matches on Subject: below --
1989-10-12 23:37 Question about Ada expressions Karl Nyberg
1989-10-15 20:35 ` Scott Simpson

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