From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: The right way to handle this difference in Ada
Date: Fri, 23 Jul 2004 23:14:16 -0400
Date: 2004-07-23T23:14:16-04:00 [thread overview]
Message-ID: <Mr2dnZ0HzpaUSZzcRVn-pw@comcast.com> (raw)
In-Reply-To: <mailman.38.1090586871.416.comp.lang.ada@ada-france.org>
Marius Amado Alves wrote:
> For some reason in this part of the reply Steve has regressed to what he
> himself calls "C/C++ thinking". Original Poster, ignore.
I think Steve admitted as much:
> Since you indicated your background is C++, I'm guessing you want the type
> to behave more like an unsigned value in C++ and ignore out of range
> conditions. If that is the case, change your definition to...
There are cases where an Ada programmer will use a modular type, because
modular behavior is desired. Marius' point is that not wanting to think
about error conditions is poor Ada practice, I assume, not that modular
types should be considered evil.
--
Robert I. Eachus
"The flames kindled on the Fourth of July, 1776, have spread over too
much of the globe to be extinguished by the feeble engines of despotism;
on the contrary, they will consume these engines and all who work them."
-- Thomas Jefferson, 1821
prev parent reply other threads:[~2004-07-24 3:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 10:23 The right way to handle this difference in Ada vic
2004-07-22 11:53 ` Eric Jacoboni
2004-07-22 12:07 ` Nick Roberts
2004-07-22 13:03 ` Dmitry A. Kazakov
2004-07-22 13:22 ` Eric Jacoboni
2004-07-22 13:34 ` Dmitry A. Kazakov
2004-07-22 13:34 ` Björn Persson
2004-07-22 17:52 ` Georg Bauhaus
2004-07-22 18:10 ` Georg Bauhaus
2004-07-23 3:41 ` Steve
2004-07-23 12:47 ` Marius Amado Alves
2004-07-24 3:14 ` Robert I. Eachus [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox