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.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!reading!minster!ken From: ken@minster.york.ac.uk Newsgroups: comp.lang.ada Subject: Re: "silly" (?) Ada semantics Message-ID: <644579683.25696@minster.york.ac.uk> Date: 5 Jun 90 09:54:43 GMT References: <1919@sparko.gwu.edu> Reply-To: ken@SoftEng.UUCP (ken) Organization: Department of Computer Science, University of York, England List-Id: In article <1919@sparko.gwu.edu> mfeldman@seas.gwu.edu (Michael Feldman) writes: >constraint_error would be raised at execution time. What is the point >about the "silly" semantics: that the compiler should treat it as fatal? >Well, OK, maybe it should. As a teacher of compiler construction, I know >well that the question of what to treat as a fatal error is really a >matter of taste. Let's not turn this into a religious thing, OK? It's not a matter of taste for the _compiler vendor_. They _must_ compile it because it is legal Ada! It's not the fact that the compiler spotted it - all Ada compilers I've seen spotted it! They all have to generate code, which always generates a constrant error. I thought Ada was targetted at high integrity mission critical software? Is it a good idea to defer errors to run-time? I remember being told by a FORTRAN diehard that the language was OK because a good compiler spotted all the bad bits and warned the user. Great. Ken