Re: [Nbd] [PATCH] nbd-server: replace msg2(), msg3() and msg4() with variadic msg()
- To: Wouter Verhelst <w@...112...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH] nbd-server: replace msg2(), msg3() and msg4() with variadic msg()
- From: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@...1261...>
- Date: Sun, 30 Dec 2012 22:19:07 +0200
- Message-id: <20121230201907.GA4689@...1259...>
- In-reply-to: <20121230021615.GA18495@...3...>
- References: <20121228213300.GA20523@...1259...> <20121229115236.GL30316@...3...> <20121229202157.GA21127@...1259...> <20121230021615.GA18495@...3...>
On Sun, Dec 30, 2012 at 03:16:15AM +0100, Wouter Verhelst wrote:
> On Sat, Dec 29, 2012 at 10:21:57PM +0200, Tuomas Jorma Juhani Räsänen wrote:
> >
> > True. I considered variadic macros, too, for a few seconds. But then I
> > thought that macros would not be that much more effective and I didn't
> > know which you'd prefer,
>
> Well, the code already has a variadic macro 4 lines lower, that could've given
> you a hint... ;-)
Oh yes, it was a hint, but just a hint. Having a certain kind of
construct or pattern in the old code does not necessarily mean that
you would accept the same kind of construct in a new code. At least
not until the whole codebase is as clean and smooth as [imagine
something really clean and smooth].
> > You are quite fast/efficient in applying patches, nice! =)
>
> Only when they're all this simple and easy to review. If you start sending me
> larger patches, I might require more time ;-)
>
Challenge accepted.
--
Tuomas
Reply to: