comp.lang.ada
 help / color / mirror / Atom feed
From: Eric Kline <ekline@earthlink.net>
To: nasser@apldbio.com
Subject: Re: Ada and C++ asserts.
Date: 1996/07/16
Date: 1996-07-16T00:00:00+00:00	[thread overview]
Message-ID: <4sf08d$1ij@peru.it.earthlink.net> (raw)
In-Reply-To: nh4tn9d9vw.fsf@paralysys


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







  parent 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 ` Stephen Leake
1996-07-15  0:00 ` Fergus Henderson
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-15  0:00 ` Robert Dewar
1996-07-15  0:00 ` Giuliano Carlini
1996-07-16  0:00 ` Eric Kline [this message]
1996-07-16  0:00   ` Jon S Anthony
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