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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.70.40.172 with SMTP id y12mr9431678pdk.8.1409706901561; Tue, 02 Sep 2014 18:15:01 -0700 (PDT) X-Received: by 10.140.16.15 with SMTP id 15mr16702qga.3.1409706901290; Tue, 02 Sep 2014 18:15:01 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!r2no13225840igi.0!news-out.google.com!q8ni8qal.1!nntp.google.com!dc16no691198qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 2 Sep 2014 18:15:01 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.178.36.13; posting-account=bDZo8goAAADwRO71ouDFRMCIZ96XBCK3 NNTP-Posting-Host: 75.178.36.13 References: <8fd27434-43c2-4bd1-b72b-dd7a0ef5af75@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <669d34e6-44e4-4c2c-9ed7-e98b90a4d688@googlegroups.com> Subject: Re: Is there a way to do large block of source code comments From: gdotone@gmail.com Injection-Date: Wed, 03 Sep 2014 01:15:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:188818 Date: 2014-09-02T18:15:01-07:00 List-Id: On Tuesday, September 2, 2014 8:44:50 PM UTC-4, Jeffrey Carter wrote: > Funny. It's easy enough to find C++ guidelines that recommend avoiding > multi-line comments because they're error prone. When those who like to use an > error-prone language recommend against a construct because it's error prone, it > must really be bad. > Even though i'm new to Ada and will use the convention of the language i agree with robin. there is value in having such markers to allow multiline comments. i personally would have preferred C programs only using /* .. */ for comments, C++ programmers using /* .. */ and //. as for style C: type function_name (...) { ... } as for style C++: same as C as for java: type function_name(...){ ... } the rational given for not having a multiline comment delimiter may as well be used for having single line comments too. type function_name(...){ ... } this style was really about placing more printed line on a page anyway, but if only java used it, java programs would identifiable at a glance. and, well, really for Ada, why not have: program the_program_name is instead of procedure the_program_name is these are not words of war, of course, just observations from a newbie, who just may not know any better, and who loved Pascal... please forgive the ramblings. :-) robin you are not alone.