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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,967ae26df92535de X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-17 06:35:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: New Software Forum Date: Tue, 17 Sep 2002 13:35:19 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3D8356A7.9010208@worldnet.att.net> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1032269719 7656 129.241.83.82 (17 Sep 2002 13:35:19 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 17 Sep 2002 13:35:19 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29072 Date: 2002-09-17T13:35:19+00:00 List-Id: On Tue, 17 Sep 2002 15:00:48 +0200, Ingo Marks wrote: > My first impression was that the Java code is clean and easy to read while > the Ada code looks much too "chatty". I think most unbiased readers would > think: "That's Ada? Oh how ugly! No thanks, I'll stay with Java.". What puzzels me though is : with Ada.Calendar; use Ada.Calendar; and then throughout: Start_Time : Ada.Calendar.Time; ... End_Time := Ada.Calendar.Clock; Why the use Ada.Calendar; if it is not used? I think one can safly do: with Ada.Text_Io; use Ada.Text_Io; and then: Put_Line("Iteration" & Integer'Image(Num) & " Result:" & Integer'Image(Result) & " Time:" & Duration'Image(Elapsed_Time)); > Please don't misunderstand me: I reward your good work but I fear newcomers > won't understand why Ada is so chatty compared with Java and could > conclude: "When Ada code is so chatty Ada must be much more complicated > than Java". I remember first time I saw Ada it reminded me of Pascal that we had to use at the University (for the course everybody had to take in programming). So I didn't like the way Ada looked and not knowing it's advantages and thinking that C/C++/Java were the "only" languages I abandoned Ada. But then some months later I reconsidered and the only regret I have is that I should have discovered Ada earlier. > I would recommend syntax highlighting of Ada code. Syntax highlighted Ada Yes! At least boldify the keywords. Preben