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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fee8802cc3d8334d X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,fee8802cc3d8334d X-Google-Attributes: gid10a146,public From: "David Botton" Subject: Re: Ada and Java. different behaviour. casting long to int problem. Date: 1999/06/18 Message-ID: <7kcie0$17ki$1@news.gate.net>#1/1 X-Deja-AN: 490939152 References: <7jt2c0$vrb@drn.newsguy.com> <7k57vb$1ipf@drn.newsguy.com> <3766650F.705125B7@pwfl.com> <7k64t7$igo$1@its.hooked.net> <7k689a$ci2@drn.newsguy.com> <3766C842.E1EAB60A@pwfl.com> <3766D1CC.D712895E@itools.symantec.com> <7k7ls5$15tv@drn.newsguy.com> <3767D042.C8A8B131@cajunbro.com> <7kc3oo$2kac$1@news.gate.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@gate.net X-Trace: news.gate.net 929680640 40594 199.227.148.82 (18 Jun 1999 04:37:20 GMT) Organization: CyberGate, Inc. NNTP-Posting-Date: 18 Jun 1999 04:37:20 GMT Newsgroups: comp.lang.ada,comp.lang.java.programmer Date: 1999-06-18T04:37:20+00:00 List-Id: AdaMagic already does the interfaces (see Tucker Taft's paper on it and examples in the Ada bindings to the JDK) and I am willing to sacrifice a little more typing now for long term maintenance, cross platform code (YES, JVM is just another platform to Ada), flexible package structure, type safety, tasking and protected types (soon in JGNAT), specs and bodies, separate compiled bodies, child packages, etc. etc. etc. (Insert here just about every improvement Ada has over C and C++ and throw it in here). I find that even on the JVM Ada is more readable then Java. Ada was written for the maintainer not the programmer. I find that my code is not overly cluttered and as Ada frameworks are built to abstract the JDK API, I think that even those with a bias will find Ada to be far easier reading. There is no benefit to use Java over Ada on the JVM for Software Engineering. There are areas where Java will excel over Ada on the JVM, but programming in the large and anything requiring reliable correct code isn't one of them. Java is C on the JVM with a little less flexibility. BTW, does any one know of a JVM written in Java? David Botton Dale Stanbrough wrote in message ... >David Botton wrote: > >" AdaMagic and OA are already doing it for most of Ada now (missing tasks and > protected types, although they can be emulated using JDK calls)" > > >...but i think that Java is easier to read in some circumstances. You don't >end up having the code cluttered up with ".all", "'access" and "access". > >I also like Java's interfaces, a feature I'm not sure how Ada can replicate. > > >Dale