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,997e6472f58cc955 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-05 08:36:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!news.equant.no!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Case dependence and coding standards Date: Thu, 5 Jun 2003 15:36:39 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <035odv8mfiksmqo69q0250qp141oebtdro@4ax.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054827399 19823 129.241.83.78 (5 Jun 2003 15:36:39 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 5 Jun 2003 15:36:39 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38686 Date: 2003-06-05T15:36:39+00:00 List-Id: Georg Bauhaus wrote: > Here is where I'd like to see an argument, not a strong emphasis. Cannot give you anything other than I find it easier to get an overview of a function if it is lightly formated as I showed in my example. Other may find that non formated is better. > north: Positive range 0 .. 90; -- stops at north pole > west: Positive range 0 .. 360; -- around the earth > depth: Integer range -20_000 .. 0; -- below the sea This is absolutly not nice. You should at least have a space after the variable before the :. I would also want to format the comments out to the side as they clutter the code. I don't like to use a lot of comments at the end of the line. north : Positive range 0 .. 90; -- stops at north pole west : Positive range 0 .. 360; -- around the earth depth : Integer range -20_000 .. 0; -- below the sea > This could be formatted to look nicely ordered like > > north : Positive range 0 .. 90; -- stops at north pole > west : Positive range 0 .. 360; -- around the earth > depth : Integer range -20_000 .. 0; -- below the sea I would have done: north : Positive range 0 .. 90; -- stops at north pole west : Positive range 0 .. 360; -- around the earth depth : Integer range -20_000 .. 0; -- below the sea if I wanted to format this. -- Preben Randhol http://www.pvv.org/~randhol/