A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-August/028200.html below:

PEP 218 (sets); moving set.py to Lib

[Python-Dev] Re: PEP 218 (sets); moving set.py to LibGreg Ewing greg@cosc.canterbury.ac.nz
Thu, 22 Aug 2002 11:25:07 +1200 (NZST)
"Eric S. Raymond" <esr@thyrsus.com>
Subject: Re: [Python-Dev] Re: PEP 218 (sets):

> Is it + for disjunction and juxtaposition for conjunction, or the other
> way around?

+ is 'or' and juxtaposition (or sometimes a dot) is 'and'
(I prefer those words because they're shorter than
'disjunction' and 'conjunction', and I can remember which
is which:-).

These are probably where Wirth got the idea of using
+ and * from in Pascal -- 'or' is considered the
'addition' operator in boolean algebra, and 'and'
the 'multiplication' operator. (Although the two are
actually completely symmetrical in their algebraic
properties, so it's an arbitrary choice.)

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4