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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,aef4913dd6741a38 X-Google-Thread: 113ae9,aef4913dd6741a38 X-Google-Attributes: gid103376,gid113ae9,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!news-in.mts.net!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: The Wogster User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.java.help Subject: Re: ADA vs Java References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 17 Jun 2005 09:10:02 -0400 NNTP-Posting-Host: 65.92.98.54 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1119013802 65.92.98.54 (Fri, 17 Jun 2005 09:10:02 EDT) NNTP-Posting-Date: Fri, 17 Jun 2005 09:10:02 EDT Organization: Bell Sympatico Xref: g2news1.google.com comp.lang.ada:11450 comp.lang.java.help:17701 Date: 2005-06-17T09:10:02-04:00 List-Id: Ted wrote: > Writing code in ADA 95 and compiling it for the JVM should produce more > reliable code than writing in Java 2. Does anyone know any good technical > reasons for prefering Java? > The argument is more like, which language has a more reliable conversation, French or German? Well people have been having conversations in both, for hundreds of years. For reliability, a far more important aspect is the experience of the one who is writing the code, and what is their background. Back to our human languages for a minute, suppose you know neither one, if you know Spanish or Italian then you will probably have more luck with French as they are all based on Latin. If you have Austrian or to a lesser degree Dutch, many words and phrases are similar to German, so you will probably have more luck with it. If your background in programming is C or C++, you will have better luck with Java, as many things are very similar. If you come from a Pascal background you probably would find Ada easier. No programming language is 100% safe, although some like C will provide you enough rope to hang yourself -- realistically C will provide the rope, tree, support, minister, and a handy helper, but that is beside the point. The biggest issues with reliability are type safety and memory sanity checking. Both languages take care of these reasonably well. The problem for Ada is that most modern operating systems are written in C and documented in a C style, so most programming students learn C or C++ if nothing else. Mind you, I still think that Pascal is probably the best teaching language for the basics...... W