comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan.Lucks@uni-weimar.de
Subject: Re: Is there a way to do large block of source code comments
Date: Wed, 3 Sep 2014 17:12:04 +0200
Date: 2014-09-03T17:12:04+02:00	[thread overview]
Message-ID: <alpine.DEB.2.11.1409031700590.24675@debian> (raw)
In-Reply-To: <1409734659.7121.231.camel@obry.net>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1095 bytes --]

On Wed, 3 Sep 2014, Pascal Obry wrote:

> Le mercredi 03 septembre 2014 à 01:23 -0700, gdotone@gmail.com a
> écrit :
>> very good suggestion (* ...  *)
>
> I bet this will never happen in Ada 202x or whatever. This feature is
> too dangerous as others have said. It is too easy to have:
>
> /*
> code1
> /*
> code2
> */

Did you actually READ the posting you just replied to?

That posting quoted my suggestion to introduce block comments where the 
opening bracket inside a block comment is plainly prohibited. I.e., the 
compiler would reject your above example with a syntax error in line 3.

This shows that there is a way to make block comments "safe" or "Ada-like" 
... if there is an urgent need for block comments in 202x.

BTW, I agree that I don't see this for "Ada 202x or whatever". I doubt 
that there is a real need for block comments.

------  I  love  the  taste  of  Cryptanalysis  in  the morning!  ------
     <http://www.uni-weimar.de/cms/medien/mediensicherheit/home.html>
--Stefan.Lucks (at) uni-weimar.de, Bauhaus-Universität Weimar, Germany--

  reply	other threads:[~2014-09-03 15:12 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 17:24 Is there a way to do large block of source code comments gdotone
2014-09-01 19:04 ` Jeffrey Carter
2014-09-03  0:07   ` robin.vowels
2014-09-03  0:44     ` Jeffrey Carter
2014-09-03  1:15       ` gdotone
2014-09-03  4:17         ` J-P. Rosen
2014-09-03  8:04       ` Brian Drummond
2014-09-03  0:50     ` Adam Beneschan
2014-09-04  2:30       ` robin.vowels
2014-09-04 15:12         ` Adam Beneschan
2014-09-03  8:22     ` Georg Bauhaus
2014-09-03  8:28     ` Stefan.Lucks
2014-09-03  8:23       ` gdotone
2014-09-03  8:57         ` Pascal Obry
2014-09-03 15:12           ` Stefan.Lucks [this message]
2014-09-03 15:52             ` Pascal Obry
2014-09-03 17:48               ` Georg Bauhaus
2014-09-03 18:28                 ` Peter Chapin
2014-09-03 18:52               ` Adam Beneschan
2014-09-03 21:47                 ` gautier_niouzes
     [not found]                   ` <91e173a8-7451-4609-b141-ce3c6b19455f@googlegroups.com>
2014-09-04  5:56                     ` Pascal Obry
2014-09-03 22:42                 ` Georg Bauhaus
2014-09-03 21:02               ` Stefan.Lucks
2014-10-01 21:15                 ` Randy Brukardt
2014-09-03 16:58       ` Jeffrey Carter
2014-09-04 18:19       ` Keith Thompson
2014-09-03 15:32     ` Shark8
2014-09-04  2:37       ` robin.vowels
2014-09-04  7:20         ` Georg Bauhaus
2014-09-04 12:46           ` robin.vowels
2014-09-04 15:44             ` G.B.
2014-09-12  2:52         ` Shark8
2014-09-01 19:08 ` Niklas Holsti
2014-09-01 20:34   ` G.B.
2014-09-01 20:53     ` Niklas Holsti
2014-09-02 13:14       ` G.B.
2014-09-02 14:38         ` kalvin.news
2014-09-02 23:33         ` Randy Brukardt
2014-09-03  8:17           ` Georg Bauhaus
2014-09-01 21:15   ` Simon Wright
2014-09-02 15:01   ` Adam Beneschan
2014-09-02 16:35     ` Simon Wright
2014-09-02 17:14     ` Jeffrey Carter
2014-09-02 19:02     ` Niklas Holsti
2014-09-02 20:10       ` mockturtle
2014-09-02 23:36     ` Randy Brukardt
2014-09-01 19:13 ` Anh Vo
2014-09-01 21:04 ` gdotone
replies disabled

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