Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21528

Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade!

Newsgroups comp.lang.lisp, comp.emacs, comp.lang.python, comp.lang.perl.misc
From Albert van der Horst <albert@spenarnc.xs4all.nl>
Subject Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade!
Date 2012-03-12 11:27 +0000
Message-ID <m0rrtp.2pl@spenarnc.xs4all.nl> (permalink)
Organization Dutch Forth Workshop
References <0078bbfb-5dfc-48fc-af1a-69de3cf15c3e@b1g2000yqb.googlegroups.com>

Cross-posted to 4 groups.

Show all headers | View raw


In article <0078bbfb-5dfc-48fc-af1a-69de3cf15c3e@b1g2000yqb.googlegroups.com>,
Xah Lee  <xahlee@gmail.com> wrote:
>New Science Discovery: Perl Idiots Remain Idiots After A Decade!
>
>A excerpt from the new book =E3=80=88Modern Perl=E3=80=89, just published, =
>chapter 4
>on =E2=80=9COperators=E2=80=9D. Quote:
>
>=C2=ABThe associativity of an operator governs whether it evaluates from
>left to right or right to left. Addition is left associative, such
>that 2 + 3 + 4 evaluates 2 + 3 first, then adds 4 to the result.
>Exponentiation is right associative, such that 2 ** 3 ** 4 evaluates 3
>** 4 first, then raises 2 to the 81st power. =C2=BB
>
>LOL. Looks like the perl folks haven't changed. Fundamentals of
>serious math got botched so badly.

You're confused.

Associativity of operators is defined in mathematics.
(The same concept may be used in programming).
"left-associativity" and "right-associativity" are computer languages
concept and their definitions are not from mathematics.

Interestingly in mathematics associative means that it doesn't matter
whether you use (a.b).c or a.(b.c).
Using xxx-associativity to indicate that it *does* matter is
a bit perverse, but the Perl people are not to blame if they use
a term in their usual sense.

Groetjes Albert

--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Xah Lee <xahlee@gmail.com> - 2012-02-29 00:09 -0800
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Chiron <chiron613@gmail.com> - 2012-02-29 11:43 +0000
    Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-02-29 07:12 -0500
    Re: New Science Discovery: Perl Detracters Remain Idiots After A Decade! Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-02-29 23:06 -0500
      Re: New Science Discovery: Perl Detracters Remain Idiots After A Decade! Chiron <chiron613@gmail.com> - 2012-03-01 04:52 +0000
        Re: New Science Discovery: Perl Detracters Remain Idiots After A Decade! Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-01 10:07 -0500
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-02-29 13:08 +0100
    Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Xah Lee <xahlee@gmail.com> - 2012-02-29 16:02 -0800
      Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-01 12:00 +0100
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Xah Lee <xahlee@gmail.com> - 2012-03-02 05:12 -0800
          Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-02 15:15 +0100
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-02-29 15:15 +0000
    Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-02-29 17:18 +0100
    Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-02-29 23:10 -0500
      Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Chiron <chiron613@gmail.com> - 2012-03-01 05:07 +0000
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-01 10:13 -0500
          Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Chiron <chiron613@gmail.com> - 2012-03-02 14:17 +0000
            Re: New Science Discovery: Perl Detractors Remain Idiots After A Decade! Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-02 10:53 -0500
              Re: New Science Discovery: Perl Detractors Remain Idiots After A Decade! Chiron <chiron613@gmail.com> - 2012-03-02 19:06 +0000
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-03-01 16:58 -0500
      Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-03-01 14:40 +0000
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-01 16:11 -0500
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! namekuseijin <namekuseijin@gmail.com> - 2012-02-29 09:45 -0800
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Westley Martínez <anikom15@gmail.com> - 2012-03-01 16:46 -0800
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Chiron <chiron613@gmail.com> - 2012-03-02 07:27 +0000
  Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-03-12 11:27 +0000
    Re: New Science Discovery: Perl Detractors Remain Idiots After A Decade Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-12 08:40 -0400
      Re: New Science Discovery: Perl Detractors Remain Idiots After A Decade Raymond Wiker <raw@unknown-00-23-6c-8d-9e-26.lan> - 2012-03-12 19:20 +0100
    Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-12 14:05 +0100
      Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-03-12 19:00 +0000
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-12 21:27 +0100
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-13 12:00 +0100
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-13 12:03 +0100
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots Af Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2012-03-12 16:20 -0400
        Re: New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Science Discovery: Perl Idiots Remain Idiots After A Decade! Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-13 17:41 +0100

csiph-web