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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c78177ec2e61f4ac X-Google-Attributes: gid103376,public From: smize@news.imagin.net (Samuel Mize) Subject: Re: ada and robots Date: 1997/06/11 Message-ID: <5nnso2$246h$1@prime.imagin.net>#1/1 X-Deja-AN: 247789740 References: <97060510114032@psavax.pwfl.com> <339E143A.349D@dynamite.com.au> Organization: ImagiNet Communications Ltd, Arlington, Texas Reply-To: smize@imagin.net (Samuel Mize) Newsgroups: comp.lang.ada Date: 1997-06-11T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >Please demonstrate with VERY SPECIFIC CODE (not some vague reference to >libraries of device drivers) an example of the kind of portable C code >that you are talking about -- hopefully you are talking about ANSI C >code, or at least C code that is well defined in traditional C. I believe the other poster is missing the point that you are subtly making: that C code is not well-defined just because it currently works. C is held to the standard "it compiles and runs." Ada holds itself to higher standards of formally defined semantics. If you just want something that happens to run today, by design or coincidence, you can get by with C. You can use the preprocessor to select among a huge number of platform-specific, compiler-specific, OS-specific code fragments, then claim your code is portable. Of course, some C is written in a very disciplined and responsible way. We can't tar ALL C coders as careless hackers. Sam Mize -- Samuel Mize -- smize@imagin.net -- Team Ada (personal net account)