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.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_REPLYTO,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Sylvain Laperche Newsgroups: comp.lang.ada Subject: Re: Build language with weak typing, then add scaffolding later to strengthen it? Date: Tue, 26 May 2015 08:01:38 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <127b004d-2163-477b-9209-49d30d2da5e1@googlegroups.com> <59a4ee45-23fb-4b0e-905c-cc16ce46b5f6@googlegroups.com> <46b2dce1-2a1c-455d-b041-3a9d217e2c3f@googlegroups.com> <3277d769-6503-4c7f-885f-3a730762b620@googlegroups.com> Reply-To: sylvain.laperche@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 26 May 2015 08:01:38 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="1ae0c0f2c854022a2fc95e3af28c8d08"; logging-data="20848"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/55RaCqoIjduRnS9p1luVzWZS13Ugpxl8=" User-Agent: slrn/1.0.2 (FreeBSD) Cancel-Lock: sha1:chSDLXd+0R4ym78Z2DDz3PYnAqs= Xref: news.eternal-september.org comp.lang.ada:25997 Date: 2015-05-26T08:01:38+00:00 List-Id: On 2015-05-25, Peter Chapin wrote: > I haven't read the Oberon Report but I can't help but wonder if it's > leaving out a lot. For a simple exemple: what happen when an integer overflow? - The program aborts? - The value silently wrap-around (2-complement behavior)? - Is it an undefined behavior (like in C)? Another one: what happens when there is an access out of the bounds of an array? A crash? A runtime check? undefined behavior (like C)? I did not find the answer in these 17 pages. It seems that it leaving out a lot indeed…