Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.046 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'subject:PEP': 0.07; 'function,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'loop.': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'code.': 0.18; 'url:home': 0.24; 'header:X-Complaints-To:1': 0.27; "d'aprano": 0.31; 'steven': 0.31; 'languages': 0.32; 'another': 0.32; 'something': 0.35; 'but': 0.35; 'skip:> 10': 0.36; 'charset:us-ascii': 0.36; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'flow': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'middle': 0.60; 'subject:? ': 0.60; 'more': 0.64; '2000': 0.65; 'line,': 0.68; 'subject:this': 0.83; 'goto': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Is this PEP-able? fwhile Date: Wed, 26 Jun 2013 23:29:50 -0400 Organization: IISS Elusive Unicorn References: <51cadfa2$0$29999$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-21-106.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.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372303793 news.xs4all.nl 15911 [2001:888:2000:d::a6]:49297 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49296 On 26 Jun 2013 12:33:39 GMT, Steven D'Aprano declaimed the following: >You cannot jump into the middle of a function, or to an arbitrary line, >or into a loop. But this is a good thing -- languages that allow >unrestricted flow control end up with unmaintainable spaghetti code. I once encountered something like (F77): if condition1 then some computation if condition2 goto 1000 2000 continue more computations else another computation if condtion3 goto 2000 1000 continue last computations end if -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/