Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: Assignment Versus Equality Date: Sun, 26 Jun 2016 11:21:57 -0400 Organization: IISS Elusive Unicorn Lines: 26 Message-ID: References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de JDZ3+aTx5OanQPlu7JTnyQYn8maovnCmnzYZuiOMwX/w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '"="': 0.16; '2016': 0.16; 'assignment.': 0.16; 'btw:': 0.16; 'compilers': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'looked': 0.16; 'url:home': 0.18; "we'd": 0.21; 'header:X -Complaints-To:1': 0.26; 'comparison': 0.29; 'operators': 0.29; 'character': 0.29; "i'm": 0.30; 'skip:> 10': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'sure': 0.39; 'to:addr:python.org': 0.40; 'more': 0.63; 'finally': 0.70; 'dennis': 0.91; 'kin': 0.91; 'received:108': 0.93; 'incorporated': 0.95 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-68-176-19.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <8a53c069-ca13-47bf-a24e-d2393a018b22@googlegroups.com> Xref: csiph.com comp.lang.python:110519 On Sun, 26 Jun 2016 11:48:30 +0100, BartC declaimed the following: > >(I think Fortran and PL/I also used "=" for assignment. Both were more >commercially successful than Algol or Pascal.) > It did... but I'm sure we'd have a revolt if Python comparison operators looked like: a .eq. b a .ne. b a .gt. b .or. c .lt. d a .le. b .and. c .ge. d Fortran 90 finally incorporated >= and kin as standard (some FORTRAN 77 compilers might have allowed them as non-standard extensions)... BTW: .eq. is == in F90 (though, the .op. form is also valid), .ne. is /= (two character representation of a slashed =). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/