[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] docstring changes

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 22 Apr 2009 14:02:42 +0100

On Wed, Apr 22, 2009 at 02:34:07PM +0200, Erik Huelsmann wrote:
> On Wed, Apr 22, 2009 at 1:22 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> > I wouldn't go as far as removing all iffs from the tree in a massive
> > series of patches. Please don't. But if the occasional iff gets
> > transformed into "if and only if", or even just "if" as a drive-by
> > side effect of a change, that's fine by me.
>
> Hmmm. You obviously don't have a math background :-)

God forbid, no! Please leave those memories alone.
I had to be dragged kicking and screaming through a total of 3
compulsory math courses in university over the course of 4 1/2 years.
Each math course takes half a year (one semester).

If you're good at math, you can now approximately work out how many
times I had to repeat each of these courses in order to finally pass
all of them :)
But at least I passed. You wouldn't believe the amount of students
dropping out of that university every year because of math.

> A must say that "if and only if" has a very different meaning that
> "if" by itself, so please don't change it to "if" alone: it's a
> different contract: the "and only if" part is an additional guarantee
> the interface is making.

That's a good point. So just shortening it to "if" is not acceptable
then, and these hunk will either have to be dropped from the diff,
or they should change iff to "if and only if".

Stefan
Received on 2009-04-22 15:03:15 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.