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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f0eae6d714d11c X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Gnat pretty printing Date: 1998/12/15 Message-ID: <36768419.79B1F29A@pwfl.com>#1/1 X-Deja-AN: 422528041 Content-Transfer-Encoding: 7bit Sender: condicma@bogon.pwfl.com References: <74lt16$9r0@romeo.logica.co.uk> <366E9E44.AA7370C7@pwfl.com> <74on70$m9o$1@cnn.Princeton.EDU> <36714049.2C5CE298@pwfl.com> Content-Type: text/plain; charset=us-ascii Organization: Pratt & Whitney Mime-Version: 1.0 Reply-To: diespammer@pwfl.com Newsgroups: comp.lang.ada Date: 1998-12-15T00:00:00+00:00 List-Id: Simon Wright wrote: > > Marin David Condic writes: > > [..] > > procedure Pop ( > > Item : out Element_Ptr_Type ; > > List : in out List_Type) is > [..] > > formatting style is that it is extremely regular & predictable with a > > visually pleasing alignment of related objects. I'm not sure it is > [..] > > I don't think we shall ever agree on that style! The dangling ( after > Pop is my pet hate, I fear. Customisability is the best bet .. > I used to hate the dangling "(" too. But I've grown to like it. The reason is that sticking the "(" with the first parameter seems to upset the regularness of it all. Somehow, it makes the first parameter different from the rest and I never could tell if it made sense to line up the parameter names or just indent the same amount: procedure Pop (Item : out Element_Type ; List : in out List_Type) ; vs procedure Pop (Item : out Element_Type ; List : in out List_Type) ; Either way, it just didn't seem comfortable - so I learned to like the dangling "(". I'm sure we are touching off a religious war here. I will no doubt get dozens of people out there foaming at the mouth over just how morally evil the dangling "(" is. Oh well. I doubt if we could ever get the whole world to agree on a formatting standard in all its details. Maybe we just have to have enough of a consensus over the bigger things such that Ada code has enough regularity to it to be easily recognizable. (The character case debate seems to have been mostly settled, so maybe there's hope for parameter lists?) MDC -- Marin David Condic Real Time & Embedded Systems, Propulsion Systems Analysis United Technologies, Pratt & Whitney, Large Military Engines M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600 Ph: 561.796.8997 Fx: 561.796.4669 ***To reply, remove "bogon" from the domain name.*** "Eagles may soar, but a weasle never gets sucked up into a jet engine." -- Author Unknown