Re: Patch: iff -> if - Mailing list pgsql-hackers

From Christopher Browne
Subject Re: Patch: iff -> if
Date
Msg-id CAFNqd5VqZaO2Z8qeV4P5dTEFC7M4P+L_fTvPXuq83NHsFhqX=w@mail.gmail.com
Whole thread Raw
In response to Patch: iff -> if  (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>)
List pgsql-hackers
On Tue, Apr 15, 2014 at 6:19 PM, Andreas 'ads' Scherbaum <adsmail@wars-nicht.de> wrote:

Hi,

stumbled over a number of "iff" in the source where "if" is meant - not sure what the real story behind this is, but attached is a patch to fix the about 80 occurrences.


"IFF" is a common idiom in mathematics (and logic, which means it will be of interest in computer science, which shares boundaries with both) which stands for "If And Only If".

Unless it has very recently fallen out of fashion in mathematics, it's almost certainly intentional to use "iff" in the comments, and not merely a typo.
--
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch: iff -> if
Next
From: David G Johnston
Date:
Subject: Re: Patch: iff -> if