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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,4d6944d2e49e7697 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-01 03:59:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada References: Subject: Re: A non-programmers interpretation of Ada code X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Mon, 01 Sep 2003 10:59:35 GMT NNTP-Posting-Host: 129.44.79.117 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny01.gnilink.net 1062413975 129.44.79.117 (Mon, 01 Sep 2003 06:59:35 EDT) NNTP-Posting-Date: Mon, 01 Sep 2003 06:59:35 EDT Xref: archiver1.google.com comp.lang.ada:42030 Date: 2003-09-01T10:59:35+00:00 List-Id: proof is in the facts...and there are the facts :-)....indeed it is what you anticipated :-). -- St�phane Richard Senior Software and Technology Supervisor http://www.totalweb-inc.com For all your hosting and related needs "Preben Randhol" wrote in message news:slrnbl68f3.6v0.randhol+abuse@kiuk0152.chembio.ntnu.no... > I asked two people that hasn't coded what they understood from the program > below. Here is the answer: > > First test person: > > > with Ada.Text_IO; use Ada.Text_IO; > > Hm, I dont' know this. This Ada.Text_IO must be a specific text or an > order. I guess it is Ada programming. So, use this specific > text/order and do something with this text/order. Probably there is > something that continuous after the final ";" > > > procedure Hello is > > begin > > Put_Line ("Hello World!"); > > end Hello; > > There is probably a starting procedure that is called "Hello". This > procedure starts with the phrase "Hello World!. So, when Hello > procedure starts one has "Hello World!" at the screen. Then the > Hello procedure ends. > > > > Does this code look more easy or more hard to understand than the > > C++ code below. > > > > #include > > > > int main() > > { > > std::cout << "Hello, world!\n"; > > } > > Ei! This is chineese. > (or "greek" for non-Greeks) > > Second test person: > > [About Ada program]: I think it prints Hello World to the screen as > it says Put_Line. > [About C++ program]: This is definiately harder to understand. I mean > what does std:cout mean? > > > Quite what I had anticipated. :-) > > Preben > -- > �I think fish is nice, but then I think that rain is wet. > So who am I to judge.� > - The Hitch Hiker's Guide to the Galaxy (radioplay)