comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: New Software Forum
Date: Tue, 17 Sep 2002 13:35:19 +0000 (UTC)
Date: 2002-09-17T13:35:19+00:00	[thread overview]
Message-ID: <slrnaoebsp.7d3.randhol+news@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: am78vv$9fj$00$1@news.t-online.com

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



  reply	other threads:[~2002-09-17 13:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14 15:33 New Software Forum Jim Rogers
2002-09-15 16:57 ` Daniel Dudley
2002-09-15 18:29   ` Marc Spitzer
2002-09-15 19:22     ` Jim Rogers
2002-09-15 19:33       ` Jim Rogers
2002-09-15 23:27         ` CodeMage
2002-09-16 16:43           ` Adrian Hoe
2002-09-16 18:48           ` sk
2002-09-16 23:43           ` Keith Thompson
2002-09-17  7:38             ` CodeMage
2002-09-16  1:17       ` Jeffrey Carter
2002-09-16 13:51         ` Jim Rogers
2002-09-17  4:27           ` Daniel Dudley
2002-09-17 13:00 ` Ingo Marks
2002-09-17 13:35   ` Preben Randhol [this message]
2002-09-17 16:39     ` Ingo Marks
2002-09-17 16:41       ` Ingo Marks
2002-09-17 17:33         ` Preben Randhol
2002-09-17 19:07           ` Ingo Marks
2002-09-17 21:03             ` Simon Wright
2002-09-18 13:04           ` Stephen Leake
2002-09-18 13:38             ` Preben Randhol
2002-09-28 16:57               ` Richard Riehle
2002-09-18 14:07           ` Kevin Cline
2002-09-18 17:46             ` Ingo Marks
2002-09-18 10:09   ` Ingo Marks
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox