Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #26004

Re: C format programs

From Phil Carmody <thefatphil_demunged@yahoo.co.uk>
Newsgroups comp.lang.c
Subject Re: C format programs
Date 2012-09-06 15:52 +0300
Organization A noiseless patient Spider
Message-ID <871uif1ff8.fsf@bazspaz.fatphil.org> (permalink)
References <nuq2h9-p77.ln1@ID-306963.user.uni-berlin.de> <k1mg0e$m0r$1@dont-email.me> <3k03h9-1pf.ln1@ID-306963.user.uni-berlin.de> <aa82k5F8arU1@mid.individual.net> <1bk3whkoet.fsf@pfeifferfamily.net>

Show all headers | View raw


Joe Pfeiffer <pfeiffer@cs.nmsu.edu> writes:
> Ian Collins <ian-news@hotmail.com> writes:
> > On 08/30/12 02:43 PM, songbird wrote:
> >>    If it is code I'm working on a lot I turn the
> >> macros into function calls as much as possible
> >> and do the text substitutions.  But that makes
> >> it hard to do comparisons to the originals to
> >> see what of substance has changed...
> >
> > Use your source control system.
> >
> > Check in cosmetic changes on their own, never mix them with logic
> > changes.  Then you should be able to isolate the former from the
> > latter quite easily.
> 
> If you can cleanly separate your cosmetic changes from your logic
> changes when working on code, to the point you can make a bunch of
> changes that *only* fit one of those categories at a time, my hat is off
> to you as a disciplined programmer.

As tree maintainer, I'd just Nack anything that didn't satisfy
Ian's advice. Nobody liked doing their patchset 3 times, they
eventually learn. ``git add -p'' is invaluable.

Phil, the guy who reached [PATCH v7]...
-- 
Regarding TSA regulations:
How are four small bottles of liquid different from one large bottle?
Because four bottles can hold the components of a binary liquid explosive,
whereas one big bottle can't. -- camperdave responding to MacAndrew on /.

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

C format programs songbird <songbird@anthive.com> - 2012-08-29 21:07 -0400
  Re: C format programs Don't make my brown eyes China Blue <chine.bleu@yahoo.com> - 2012-08-29 18:35 -0700
    Re: C format programs songbird <songbird@anthive.com> - 2012-08-29 21:50 -0400
      Re: C format programs ImpalerCore <jadill33@gmail.com> - 2012-08-29 20:32 -0700
        Re: C format programs songbird <songbird@anthive.com> - 2012-08-30 02:20 -0400
          Re: C format programs ImpalerCore <jadill33@gmail.com> - 2012-08-30 06:06 -0700
            Re: C format programs songbird <songbird@anthive.com> - 2012-08-30 22:44 -0400
    Re: C format programs Keith Thompson <kst-u@mib.org> - 2012-08-29 19:50 -0700
  Re: C format programs Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-29 21:35 -0400
    Re: C format programs songbird <songbird@anthive.com> - 2012-08-29 22:43 -0400
      Re: C format programs Ian Collins <ian-news@hotmail.com> - 2012-08-30 14:48 +1200
        Re: C format programs Keith Thompson <kst-u@mib.org> - 2012-08-29 19:58 -0700
          Re: C format programs songbird <songbird@anthive.com> - 2012-08-30 01:07 -0400
            Re: C format programs Adrian Ratnapala <raka@scooter.fritz.box> - 2012-09-01 07:10 +0000
        Re: C format programs Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-08-29 22:13 -0600
          Re: C format programs Ian Collins <ian-news@hotmail.com> - 2012-08-30 16:28 +1200
            Re: C format programs Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-08-30 08:55 -0600
              Re: C format programs Adrian Ratnapala <raka@scooter.fritz.box> - 2012-09-01 07:03 +0000
          Re: C format programs Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2012-09-06 15:52 +0300

csiph-web