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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-13 11:18:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 Date: 13 Nov 2001 14:17:07 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3BECA3B7.5020702@telepath.com> <3BF0247D.4500975E@san.rr.com> <5BXH7.22252$xS6.34813@www.newsranger.com> <3BF052D3.ECEF3FF2@san.rr.com> <3BF05337.75BE0A18@san.rr.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1005679185 2293 128.183.220.71 (13 Nov 2001 19:19:45 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 13 Nov 2001 19:19:45 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:16435 Date: 2001-11-13T19:19:45+00:00 List-Id: Ted Dennison writes: > In article <3BF05337.75BE0A18@san.rr.com>, Darren New says... > > > >Darren New wrote: > > function "&" (Left, Right : Element) return List; > > -- O(1) > > I much prefer pre-comments to post-comments. The reason is that you read them > before you get to the source, rather than after you have already tried to read > the source and are perhaps already confused and/or misled. Forewarned is > forearmed. :-) Well, I prefer to read the Ada source first, to get as much information as possible, then read the comments. If you put the comments first, and they are at all long, you start having to repeat parts of the Ada code (like the function and parameter names) at the top of the comment; a very bad idea. -- -- Stephe