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-Thread: 103376,da35ce5bfee7a73 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!kanaga.switch.ch!news-zh.switch.ch!switch.ch!cernne03.cern.ch!cern.ch!news From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Humor fromkipedia Date: Mon, 23 Jan 2006 10:40:59 +0100 Organization: CERN - European Laboratory for Particle Physics Message-ID: References: <1137796370.523124.257210@g49g2000cwa.googlegroups.com> <54191081.CEaqz48z4D@linux1.krischik.com> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sunnews.cern.ch 1138009258 3577 (None) 137.138.37.241 X-Complaints-To: news@sunnews.cern.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Red Hat/1.7.12-1.1.3.2.SL3 X-Accept-Language: en-us, en In-Reply-To: <54191081.CEaqz48z4D@linux1.krischik.com> Xref: g2news1.google.com comp.lang.ada:2583 Date: 2006-01-23T10:40:59+01:00 List-Id: Martin Krischik wrote: > If you not a troll after all and really want to know the difference: > > Ada: > http://en.wikibooks.org/wiki/Ada_Programming/Subtypes > http://en.wikibooks.org/wiki/Ada_Programming/Types > Java: > http://en.wikibooks.org/wiki/Java_Programming/Types > > Wow, I never expected such drastic difference. Ada 2 chapters with a total > of 19 pages - Java a mere 9 lines. These numbers say nothing. You can buy arbitrarily verbose Java book with the "Types" chapter having arbitrary number of pages, including introduction, summary, excercises, ... Just comparing wiki chapters is not meaningful at all. Actually, I'd say that when it comes to the type system, Java just runs circles around Ada - just see its int, Integer and IntHolder, which are not one, but *three* types for the same data concept! ;-) And there are more Java "types" (programmers) anyway. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/