Re: [PATCH 0/4] Re: [PATCH 3/4] t: rev-parse-parents: avoid yoda conditions
- From
Jeff King <peff@peff.net>
- Date
- Sep 8, 2013, 23:45 UTC
- Message-ID
- <20130908234519.GA11860@sigill.intra.peff.net>
- In-Reply-To
- <CAMP44s1HXeQ1pgCeY=RsDcx4H--YHBfzmoQ4rjJ37t5N30pq5A@mail.gmail.com>
On Sun, Sep 08, 2013 at 06:25:45PM -0500, Felipe Contreras wrote:
Show 5 quoted lines
> > And I do not think it is a problem. The point of the function is not to > > abstract away the idea of comparison. The point is to give a hook for > > people on systems without "diff -u" to run the test suite. > > The point according to whom? I say it's the other way around.
The point according to 82ebb0b (add test_cmp function for test scripts, 2008-03-12). I wish I had simply called it test_diff back then, and then this conversation could have never occurred.
> Either way the fact that others are doing it differently doesn't mean > that's the best way, that would be argumentum ad populum, and mothers > are keen to remind us that if other kids are jumping the bridge, that > doesn't mean we should too.
Did I once say "my way of thinking about it is the best way"? No. I said "I think it is a matter of preference". I mentioned other systems using a particular ordering to show that the set of people who prefer it the other way is non-zero.
Feel free to respond, but I have no interest in discussing this any further with you. This thread has become a giant time sink, and I have nothing else to say on the matter that I have not already said.
-Peff