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-Thread: 103376,8b756d9a0afb052a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. References: <43F7915B.3090000@obry.net> <43F83D46.2090200@obry.net> <43F84890.7010900@obry.net> <43f871d8$0$491$9b4e6d93@newsread4.arcor-online.net> <43F872C4.50505@obry.net> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:COo9kc0zTswPef4NZnJEPR01ZF8= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 19 Feb 2006 10:20:10 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1140362416 66.159.65.1 (Sun, 19 Feb 2006 10:20:16 EST) NNTP-Posting-Date: Sun, 19 Feb 2006 10:20:16 EST Xref: g2news1.google.com comp.lang.ada:2990 Date: 2006-02-19T10:20:10-05:00 List-Id: Pascal Obry writes: > Georg Bauhaus a �crit : > >> They can indicate a major block. For example in Matt's AI 302 >> implementation, there are blank lines between many executable >> statements. There are two blank lines between most, if not all, >> subprograms. > > Between subprograms I prefer the "GNAT style" header box: > > ---------------------- > -- Process_Whatever -- > ---------------------- > > procedure Process_Whatever is > ... > > Far clearer than 2 blank lines IMHO. Yuck - a waste of valuable screen space. That's what syntax colorization is for, along with navigation keys (page forward goes to next subprogram). One of these days, I'll add an option to gnatstub to take those out. Just my style, of course :). -- -- Stephe