Re: Patch: iff -> if
От | Steve Crawford |
---|---|
Тема | Re: Patch: iff -> if |
Дата | |
Msg-id | 534DD9DB.7090507@pinpointresearch.com обсуждение исходный текст |
Ответ на | Re: Patch: iff -> if (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: Patch: iff -> if
|
Список | pgsql-hackers |
On 04/15/2014 05:36 PM, Andrew Dunstan wrote: > > On 04/15/2014 06:26 PM, Thom Brown wrote: >> On 15 April 2014 23:19, 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. >>> >>> This only appears in comments, not in any code path. >> Yeah, apparently those are intentional, and mean "if and only if" >> (i.e. <=>) >> > > This is a reasonably common idiom, or used to be. If it has fallen into disuse the news has failed to reach me: http://en.wikipedia.org/wiki/If_and_only_if http://www.mathwords.com/i/if_and_only_if.htm http://mathworld.wolfram.com/Iff.html ... Cheers, Steve
В списке pgsql-hackers по дате отправления: