Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: Statements as expressions [was Re: Undefined behaviour in C] Date: Tue, 29 Mar 2016 08:15:18 -0400 Organization: IISS Elusive Unicorn Lines: 14 Message-ID: References: <87poug5t0c.fsf@nightsong.com> <1344e2bf-15d2-412e-9512-b0aba800dada@googlegroups.com> <56f880ba$0$1617$c3e8da3$5496439d@news.astraweb.com> <87h9fr5qig.fsf@nightsong.com> <56fa3c2a$0$1591$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de ngtK3wn+777LSBAkOMf4eA2W56nldwUZ/nAh8KrEBPqg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'exit': 0.07; '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; 'statements': 0.09; '2016': 0.16; '42.': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:expressions': 0.16; 'tempted': 0.16; 'url:home': 0.18; 'language': 0.19; '(all': 0.22; 'header:X-Complaints-To:1': 0.26; 'subject: [': 0.29; "d'aprano": 0.33; 'steven': 0.33; 'languages': 0.34; 'tue,': 0.34; 'so,': 0.35; 'too': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'to:addr:python.org': 0.40; 'where': 0.40; 'mar': 0.65; 'choose': 0.68; '>if': 0.84; 'that)': 0.84; 'dennis': 0.91; 'choice.': 0.93; 'received:108': 0.93; 'hand,': 0.97 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-79-217-212.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.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105980 On Tue, 29 Mar 2016 19:26:14 +1100, Steven D'Aprano declaimed the following: > >If other languages choose differently, well, that's their right to do so, >but I don't agree with their choice. On the other hand, I am tempted by the >thought of a language where all statements return 42. Too simple -- the EXIT (whatever the language uses for that) should return the digits of PI (all of them ) -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/