From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a0e076952eca80d4 X-Google-Attributes: gid103376,public From: jsa@organon.com (Jon S Anthony) Subject: Re: Ada and C++ asserts. Date: 1996/07/16 Message-ID: #1/1 X-Deja-AN: 168538754 sender: news@organon.com (news) references: <4sf08d$1ij@peru.it.earthlink.net> organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-07-16T00:00:00+00:00 List-Id: In article <4sf08d$1ij@peru.it.earthlink.net> Eric Kline 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