comp.lang.ada
 help / color / mirror / Atom feed
From: ica2ph@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann)
Subject: Re: Ada's Assembly Language Comments
Date: 1997/07/03
Date: 1997-07-03T00:00:00+00:00	[thread overview]
Message-ID: <5pg7s9$199k@info4.rus.uni-stuttgart.de> (raw)
In-Reply-To: y8xisHAeZ5uzYwIm@clanchy.demon.co.uk


RC (rc1@clanchy.demon.co.uk) wrote:

> Why does Ada have only the " -- " assembly language style, in-line
> comments and not block structured ones as in C or Pascal or better still
> nested block structured comments as in Modula 2?

Because this is much much more practical in many aspects.
This, however, can only be appreciated by those,
who wrote tons of code themselves.

A serious note on the "block structure"dness of C comments:

They begin a comment with a   /*   (AFAIK ;-)
and end it with a             */

HOWEVER(!) there is no means of further enclosing like

    /*  surrounding text  /*  original text  */   surrounding text */ 

(as the syntax might suggest at first glance)
because the FIRST appearance of    */     will end all commentary.
I consider this paradoxon another unacceptable immaturity,
like so many others.

--
Peter Hermann  Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de
Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen
Team Ada: "C'mon people let the world begin" (Paul McCartney)




  reply	other threads:[~1997-07-03  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-03  0:00 Ada's Assembly Language Comments RC
1997-07-03  0:00 ` Peter Hermann [this message]
1997-07-03  0:00   ` Robert Dewar
1997-07-03  0:00   ` RC
1997-07-08  0:00     ` Peter Hermann
1997-07-03  0:00 ` Kenneth W. Sodemann
1997-07-04  0:00   ` Richard A. O'Keefe
1997-07-08  0:00     ` Kenneth W. Sodemann
1997-07-08  0:00   ` RC
1997-07-11  0:00     ` Dan Johnston D.B.
1997-07-13  0:00       ` Robert Dewar
1997-07-11  0:00     ` Robert Munck
1997-07-03  0:00 ` Samuel Mize
1997-07-04  0:00   ` Fergus Henderson
1997-07-07  0:00     ` Tucker Taft
1997-07-08  0:00     ` RC
1997-07-08  0:00   ` RC
1997-07-11  0:00     ` Stuart Palin
1997-07-11  0:00     ` Joerg Rodemann
1997-07-11  0:00     ` Samuel Mize
replies disabled

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