comp.lang.ada
 help / color / mirror / Atom feed
* Re: Q: on redefinition of equal
@ 1996-04-03  0:00 W. Wesley Groleau (Wes)
  1996-04-04  0:00 ` david scott gibson
  0 siblings, 1 reply; 5+ messages in thread
From: W. Wesley Groleau (Wes) @ 1996-04-03  0:00 UTC (permalink / raw)


I don't know how inescapable is your "requirement" to hide predefined "="
from "ALL" data types.  But here's something to consider:

How much will it cost over the life cycle to have maintenance programmers

replacing

   if (A = B) = True then

with

   if A = B then

only to (attempt to) compile and then change it back?

Plus the time wasted when initial programmers write

   if A = B then

out of habit and have to (attempt to) compile twice?

Of course, with GNAT you can change the compiler to accept the standard
form with your new type Bool  :-)

--
---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Magnavox - Mail Stop 10-40                               Home: 219-471-7206
Fort Wayne,  IN   46808              elm (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




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

end of thread, other threads:[~1996-04-05  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-03  0:00 Q: on redefinition of equal W. Wesley Groleau (Wes)
1996-04-04  0:00 ` david scott gibson
1996-04-05  0:00   ` Brad Balfour
1996-04-05  0:00     ` david scott gibson
1996-04-05  0:00   ` Robert I. Eachus

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