Re: Mostly Harmless: Welcoming our C++ friends

From: Kurt Harriman <harriman(at)acm(dot)org>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Mostly Harmless: Welcoming our C++ friends
Date: 2008-12-05 09:09:34
Message-ID: 4938EFCE.30907@acm.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Greg,

Actually I did email this to the list with 4 separate diffs in
4 separate attached files. I don't know why it appears all
massed together at http://archives.postgresql.org/pgsql-hackers.
I'll try resubmitting them separately. The first diff consists
of just the renaming, which is intentionally trivial and boring.
The second diff adds a few extern "C" {...} declarations - also
trivial and boring, but small. The interesting part is in the
third diff.

Regards,
... kurt

Greg Smith wrote:
> A seriously substantial portion of the diff for this patch all is
> supporting trivial renaming, like changing everything that uses:
>
> - TypeName *typename = (TypeName *) cmd->def;
> + TypeName *typeName = (TypeName *) cmd->def;
>
> Is that really necessary? After going through a few pages of diff code
> where supporting this trivial bit was the only change, my eyes glazed
> over. Minimizing diff size makes it much more likely somebody will
> complete a review of the functional parts of your submission before
> getting bored.
>
> If it is needed, I'd suggest you'd get a warmer reception here
> submitting two diffs, one that just did the renaming and a second that
> actually had the functional bits in it. Then it would be possible to
> casually scan the renaming one for a second to see it was trivial and
> boring, followed by a review of the functional one that was focused on
> its real changes.
>
> --
> * Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2008-12-05 09:12:00 Re: Mostly Harmless: Welcoming our C++ friends
Previous Message Greg Smith 2008-12-05 08:58:18 Re: Mostly Harmless: Welcoming our C++ friends