comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: overload ":=" ???
Date: 1996/07/22
Date: 1996-07-22T00:00:00+00:00	[thread overview]
Message-ID: <dewar.838084084@schonberg> (raw)
In-Reply-To: 31F40F0C.3FDACA19@jinx.sckans.edu


David Morton said, replying to Laurent

>    If you allow programmers to play with assignment, you'll definitly
> damage the readability of all Ada sources.

what about "write-ability" ????


Ah! Interesting you should ask, the answer is we do NOT care at all -- well
that's a little strong, but one of the critical design principles of Ada
is that we always emphasize readability over writability -- why? simple,
we are more interested in maintability than saving a bit of coding time,
since the latter is such a small part of the total life-cycle cost.

I stronly agree with Laurent that allowing general redefinition of assignment
is likely to encourage (mis)uses that would tend to damage readability. Yes,
I know you can argue that allowing redefinition of operators is also a risk,
and indeed I have seen this badly abused on occasion, but I think assignment
is more fundamental. The nice thing about the use of Adjust is that it allows
quite a bit of flexibility without allowing the undesirable introduction of
implicit conversions (or 
something even worse)





  reply	other threads:[~1996-07-22  0:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-17  0:00 overload ":=" ??? David Morton
1996-07-17  0:00 ` Robert Dewar
1996-07-18  0:00   ` Laurent Guerby
1996-07-18  0:00   ` David Morton
1996-07-19  0:00     ` David Weller
1996-07-19  0:00     ` Brad Balfour
1996-07-25  0:00   ` Wolfgang Gellerich
1996-07-25  0:00     ` Robert A Duff
1996-07-18  0:00 ` John Herro
1996-07-18  0:00   ` Robert Dewar
1996-07-19  0:00     ` John Herro
1996-07-21  0:00       ` Laurent Guerby
1996-07-22  0:00         ` Robert A Duff
1996-07-23  0:00           ` Laurent Guerby
1996-07-23  0:00             ` Robert A Duff
1996-07-23  0:00             ` John Herro
1996-07-21  0:00       ` David Morton
1996-07-22  0:00       ` Laurent Guerby
1996-07-22  0:00       ` Laurent Guerby
1996-07-22  0:00       ` David Morton
1996-07-22  0:00         ` Robert Dewar [this message]
1996-07-23  0:00         ` Robert A Duff
1996-07-22  0:00           ` Robert Dewar
1996-07-23  0:00       ` Tarjei Jensen
1996-07-23  0:00         ` Robert A Duff
1996-07-24  0:00       ` Robert I. Eachus
1996-07-18  0:00 ` Jon S Anthony
1996-07-19  0:00 ` Joerg Ozimek
replies disabled

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