I have tried and errored a reasonable amount of times

Grant Edwards invalid at invalid.invalid
Fri Sep 5 16:54:36 CEST 2014

On 2014-09-05, Denis McMahon <denismfmcmahon at gmail.com> wrote:
> On Thu, 04 Sep 2014 21:42:56 +1000, Chris Angelico wrote:
>> On Thu, Sep 4, 2014 at 9:17 PM, Denis McMahon <denismfmcmahon at gmail.com> wrote:
>>> On Wed, 03 Sep 2014 07:16:34 +0000, Steven D'Aprano wrote:
>>>> Who uses + for disjunction (∨ OR) and concatenation for conjunction
>>>> (∧ AND)? That's crazy notation.
>>> The way I was taught it in the mid 1980s, a.b === a and b, a+b === a
>>> or b.
>> The middle dot is another notation for multiplication, as is abuttal
>> (not actually concatenation, in this context). So they're all saying
>> the same thing: boolean 'and' is multiplication, boolean 'or' is
>> addition.
> Yes Chris, I know that. I was responding to Stephen's statement that 
> using + for or was crazy notation, and pointing out that 30 years
> ago, that's what UK colleges were teaching!

AFAIK, that's the standard notation in both CS and EE university
classes in the US also: + for 'or' and dot or abuttal for 'and'.

Well, it was 30 years ago...

Grant Edwards               grant.b.edwards        Yow! But was he mature
                                  at               enough last night at the
                              gmail.com            lesbian masquerade?

More information about the Python-list mailing list