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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-04 13:31:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!b9c3f.pppool.DE!not-for-mail From: Dmitry A.Kazakov Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration Date: Wed, 5 Jun 2002 10:36:08 +0200 Message-ID: References: <3CF77998.9040806@yahoo.com> <3CF79DFC.50613FAF@san.rr.com> <5ee5b646.0206020720.6b91978b@posting.google.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: b9c3f.pppool.de (213.7.156.63) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1023222665 35678561 213.7.156.63 (16 [77047]) User-Agent: KNode/0.4 Xref: archiver1.google.com comp.lang.ada:25321 Date: 2002-06-05T10:36:08+02:00 List-Id: Marin David Condic wrote: > C and C++ programmers tend to write things without spaces or underscores, > so you can tell their origin when you see Ada code that looks like: > > SomeProcedureName(X,Y,Z); > > Ada programmers make more frequent use of spaces and underscores, so it is > much more common to see: > > Some_Procedure_Name (X, Y, Z); > > To a large extent, it is a matter of taste, Interestingly is that it is true in a literal sense. I have no logical explanation for this, but I tend to write SomeProcedureName in C++ and Some_Procedure_Name in Ada. I tried to stick to one way for both, but noticed that purely aesthetically first looks better in C++ while second is better for Ada. -- Regards, Dmitry Kazakov www.dmitry-kazakov.de