comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: An interesting object lesson (Ada vs C)
Date: 1998/04/26
Date: 1998-04-26T00:00:00+00:00	[thread overview]
Message-ID: <dewar.893645616@merv> (raw)
In-Reply-To: 6hvpf2$77d$1@news.hal-pc.org


<<In the C world, "really knows what he is doing" means "knows how to turn
the warnings on".  Do the student a favor and introduce him to lint and
-Wall.
>>

Yes, of course, but the point is that having to rely on warnings for such
very basic type consistency checking is *exactly* the weakness that this
example pointed out (if you think all C compilers come with such warnings,
you have been lucky :-).

Someone else complained at the use of the non-standard long double, true,
but it seems a pity that you *need* a non-standard extension to get at
a basic facility of the underlying architecture -- certainly not something
that is required in Ada!





  parent reply	other threads:[~1998-04-26  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-26  0:00 An interesting object lesson (Ada vs C) Robert Dewar
1998-04-26  0:00 ` Andi Kleen
1998-04-27  0:00   ` Samuel Tardieu
1998-04-26  0:00 ` Jonathan Guthrie
1998-04-26  0:00   ` Al Christians
1998-04-30  0:00     ` John McCabe
1998-04-26  0:00   ` Robert Dewar
1998-05-01  0:00     ` Jonathan Guthrie
1998-04-26  0:00   ` Robert Dewar [this message]
1998-04-29  0:00     ` Keith Thompson
1998-05-01  0:00     ` Jonathan Guthrie
1998-04-27  0:00 ` Aaro Koskinen
replies disabled

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