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,96ae138aab3beb03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-03 10:29:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration Date: 03 Jun 2002 19:29:46 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3CF77998.9040806@yahoo.com> <3CF77CDA.3090805@yahoo.com> <3CF78D3D.3030400@yahoo.com> <3CF79DFC.50613FAF@san.rr.com> <5ee5b646.0206020720.6b91978b@posting.google.com> NNTP-Posting-Host: avelizy-103-1-3-143.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: wanadoo.fr 1023125387 29461 217.128.47.143 (3 Jun 2002 17:29:47 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 3 Jun 2002 17:29:47 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 Xref: archiver1.google.com comp.lang.ada:25266 Date: 2002-06-03T17:29:47+00:00 List-Id: Michael Bode writes: > Could someone please help a poor Ada beginner and tell me when to > leave a blank between a function name and its parameter list and when > not? I personally find the above Put_Line("write two number"); more > readable than Float := Float (a) * Float (b) * 42.42; because I think > of a function and its parameters as a unity, but I've seen the blanks > in textbooks quite often. OTHO "Ada Quality and Style" favors the > Put_Line(...) All styles (well most of them :) are ok as long it is consistent. I do prefer having a space in those cases. And since I can't myself ensure that I use a consistent style I prefer to let the compiler do this low-level job. For this I always use -gnaty to compile my sources. > PS: No Holy War intended. Just my 2 cents, Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595