From: "Stephane Richard" <stephane.richard@verizon.net>
Subject: Re: A non-programmers interpretation of Ada code
Date: Mon, 01 Sep 2003 10:59:35 GMT
Date: 2003-09-01T10:59:35+00:00 [thread overview]
Message-ID: <rEF4b.15932$NC2.5519@nwrdny01.gnilink.net> (raw)
In-Reply-To: slrnbl68f3.6v0.randhol+abuse@kiuk0152.chembio.ntnu.no
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1868 bytes --]
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" <randhol+abuse@pvv.org> 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 <iostream>
> >
> > 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)
next prev parent reply other threads:[~2003-09-01 10:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-01 10:40 A non-programmers interpretation of Ada code Preben Randhol
2003-09-01 10:59 ` Stephane Richard [this message]
2003-09-01 23:51 ` tom
2003-09-02 15:15 ` Adrian Hoe
2003-09-02 10:11 ` chris
2003-09-02 12:01 ` Preben Randhol
2003-09-24 21:08 ` Lionel Draghi
2003-09-25 7:59 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox