comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: About conversions
Date: 2000/11/21
Date: 2000-11-21T00:00:00+00:00	[thread overview]
Message-ID: <8ve75j$mh4$1@nnrp1.deja.com> (raw)
In-Reply-To: kwlS5.54873$U46.1727359@news1.sttls1.wa.home.com

In article <kwlS5.54873$U46.1727359@news1.sttls1.wa.home.com>,
  "DuckE" <nospam_steved94@home.com> wrote:
> I've always thought of type conversions as equivalent to built
> in functions for converting types.  Looks like I'll have to
> change my way of thinking.


Conceptually, that *should* be a good model of type conversions.
It is true that this bizarre case disturbs this model, but in
fact nearly all programmers think of A(B) when they see it as
a functional form that converts B to the type A (after all why
did we choose the same syntax as a function for this purpose).

I am not sure the anomolous case is a good reason to change your
way of thinking here. Output conversions are very rare (much
much rarer than input conversions, depite the claim of the
previous message).


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-11-21  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-20  0:00 About conversions Sandro Binetti
2000-11-20  0:00 ` Ken Garlington
2000-11-20  0:00   ` Robert Dewar
2000-11-20  0:00     ` Stephen Leake
2000-11-21  0:00       ` Robert Dewar
2000-11-21  0:00         ` Warren W. Gay VE3WWG
2000-11-21  0:00           ` Robert Dewar
2000-11-21  0:00             ` Ted Dennison
2000-11-22  3:27               ` Warren W. Gay VE3WWG
2000-11-22  4:54               ` Robert Dewar
2000-11-22  0:00                 ` Wes Groleau
2000-11-22  0:00                 ` Ted Dennison
2000-11-22  0:00         ` Tristan Gingold
2000-11-24  0:00         ` Jean-Pierre Rosen
2000-11-24  0:00       ` Jean-Pierre Rosen
2000-11-21  2:57     ` DuckE
2000-11-21  0:00       ` Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-23  6:21 Christoph Grein
2000-11-23  0:00 ` Wilhelm Spickermann
2000-11-23  0:00   ` Florian Weimer
2000-11-23  0:00     ` Wilhelm Spickermann
2000-11-28  2:20   ` Robert Dewar
2000-11-24  0:00 Christoph Grein
2000-11-28  1:33 ` Robert Dewar
replies disabled

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