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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public From: bill_1@nospam.com Subject: Re: Ada vs C++ vs Java Date: 1999/01/21 Message-ID: <788svu$gl9@drn.newsguy.com>#1/1 X-Deja-AN: 435516005 References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <369F1D39.64A65BC1@sea.ericsson.se> <369f81a9.31040093@news.demon.co.uk> <77ommt$9bo$1@nnrp1.dejanews.com> <77vhjf$nn9$1@nnrp1.dejanews.com> <77vld9$qvg$1@nnrp1.dejanews.com> <782rp0$kn6$1@nnrp1.dejanews.com> <6Oap2.16170$MW1.4028@news2.giganews.com> <783nnb$s9c@drn.newsguy.com> <784qvi$a0a$1@nnrp1.dejanews.com> <78549k$iqv$1@nnrp1.dejanews.com> <785fo3$thj$1@nnrp1.dejanews.com> <36A6F997.CA210C39@easystreet.com> <36A775B3.666042D8@easystreet.com> Organization: Newsguy News Service [http://www.newsguy.com] Newsgroups: comp.lang.ada Date: 1999-01-21T00:00:00+00:00 List-Id: In article , Matthew says... > >> > What's the problem? >> >> If that's just a way to make sure that newly-written code complies >> with a standard before it gets stored, there is no problem. > >Yes, that is that case. You type in the declaration "loosely," as in >the former declaration above, type C-c C-f when you're done typing that >declaration, and then you get the latter declaration. > >When you're all done with your edits, and all your code is compliant >with coding standards, then you check it back in. > Not only this is a good idea, but how else will one makes sure their code is formatted in consistant way other than using a standard formating pattern with the help of a tool? I beleive the best solution is as shown above. Eveyone will agree on ONE standard format. Then before the code is checked in, one enters few commands to format the code to this common format. I can't imagine having to format the code by hand all the time. my eyes does not always measure the amount of space correctly, and it is a waste of time to having to do this by hand all the time, when with one or two simple command, the code can be transformed into this common format much faster. Bill.