comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@organon.com (Jon S Anthony)
Subject: Re: Ada and C++ asserts.
Date: 1996/07/16
Date: 1996-07-16T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96Jul16143721@organon.com> (raw)
In-Reply-To: 4sf08d$1ij@peru.it.earthlink.net


In article <4sf08d$1ij@peru.it.earthlink.net> Eric Kline <ekline@earthlink.net> writes:

> In C++, Asserts are to check the programmers mistakes not the
> end users mistakes.  You dont use asserts to check users 
> mistakes at all.  If you do, you will quickly learn that
> asserts are only active in debug mode. So, You as the 
> programmer will know what YOU did wrong

That's how assertions are used pretty much anywhere.  The user model
should be handled differently (at a higher level...)

/Jon
-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com





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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-15  0:00 Ada and C++ asserts Nasser Abbasi
1996-07-15  0:00 ` Giuliano Carlini
1996-07-15  0:00 ` Stephen Leake
1996-07-15  0:00 ` Fergus Henderson
1996-07-15  0:00 ` Robert Dewar
1996-07-15  0:00 ` Nasser Abbasi
1996-07-16  0:00   ` Robert Dewar
1996-07-18  0:00   ` Ian Johnston
1996-07-22  0:00   ` Richard Curnow
1996-07-16  0:00 ` Eric Kline
1996-07-16  0:00   ` Jon S Anthony [this message]
1996-07-16  0:00 ` Ian Johnston
1996-07-17  0:00 ` James McCallum
replies disabled

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