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: Stephen Leake Subject: Re: Ada vs C++ vs Java Date: 1999/01/21 Message-ID: #1/1 X-Deja-AN: 435370217 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> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1999-01-21T00:00:00+00:00 List-Id: Andi Kleen writes: > In article , > Matthew Heaney writes: > > All it does is turn this: > > > procedure Push > > (Item : in Item_Type; > > On : in out Stack_Type); > > > into this: > > > procedure Push > > (Item : in Item_Type; > > On : in out Stack_Type); > > > What's the problem? > > It makes reading cvs diff file (or your favourite version control system's > equivalent) output hell. > > For example in a lot of projects I know it is common to send back patches > to the submitters when they contain formatting changes, unless they're > explicitely marked as formatting patch and only contain them. Separating > the formatting noise and the useful stuff is just too much work. A good diff program can be told to ignore whitespace differences. And again, emacs comes to the resue with ediff - by far the best file-difference viewer I've ever seen. On the other hand, I tend to agree that formatting should be done the first time, and if a formatting error gets into checked-in source, it shouldn't be "fixed" unless there is some other reason to edit nearby lines. -- Stephe