comp.lang.ada
 help / color / mirror / Atom feed
From: stt@inmet
Subject: Re: Question about Ada expressions
Date: 12 Oct 89 22:07:00 GMT	[thread overview]
Message-ID: <20600010@inmet> (raw)
In-Reply-To: 8834@spool.cs.wisc.edu


Ada tried to use the "conventional" precedence
rules when defining operators.  However, it has
never been entirely clear where XOR belongs relative
to AND and OR, nor how regular AND
and short-circuit AND THEN should
fare relative to one another.  The net result
was that they "punted" in this area and said
use parentheses when using two logical operators
in sequence.  

It might have been ideal in some
people's mind if at least AND had clearly higher precedence 
than OR so that your example could be coded without
parentheses, but Ada has always tried to err
on the side of readability over writability.

S. Tucker Taft
Intermetrics, Inc.
Cambridge, MA

  parent reply	other threads:[~1989-10-12 22:07 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
replies disabled

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