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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-14 13:01:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd955e9ab.dip.t-dialin.NET!not-for-mail From: Immanuel Scholz Newsgroups: comp.lang.ada Subject: Re: ada paper critic Date: Fri, 14 Jun 2002 22:02:10 +0200 Message-ID: References: NNTP-Posting-Host: pd955e9ab.dip.t-dialin.net (217.85.233.171) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1024084871 6506189 217.85.233.171 (16 [100557]) User-Agent: KNode/0.6.1 Xref: archiver1.google.com comp.lang.ada:25975 Date: 2002-06-14T22:02:10+02:00 List-Id: Dale Stanbrough wrote: > Not quite sure what you mean about "stability of the resulting code". Doning Things wrong can result either in disaster (as in C) or in defined exceptions (as in java). So I classify java to be produce more stabile code. The best solution is to give a compile error for all things than can be decided compile time and only throw an defined exception runtime if the decission is simple not possible. Also statements as "assert" in Java1.4 counts towards the "stability of produced code" - argument (because it is shipped in the release code!) - Macros like assert in C does not count really much. Lbnl, some languages are tend to let you produce more fragile code than other (again, C get the rubbish ;-). It should be easy to produce right code, but very hard to compile buggy code. Immanuel Scholz