Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.05; 'remind': 0.05; 'overflow': 0.07; 'reminded': 0.09; 'bug': 0.10; 'missed': 0.15; '>>on': 0.16; 'c++.': 0.16; 'fly': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'wrote:': 0.16; 'integer': 0.18; '>>>': 0.20; '2015': 0.20; 'algorithm': 0.20; 'lawrence': 0.22; 'sep': 0.22; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'header :User-Agent:1': 0.26; 'bugs': 0.27; 'least': 0.27; 'went': 0.28; 'for,': 0.29; 'supposed': 0.31; 'probably': 0.31; 'expensive': 0.32; 'suddenly': 0.33; 'could': 0.35; 'done': 0.35; 'c++': 0.35; 'replaced': 0.35; 'but': 0.36; 'should': 0.36; 'projects.': 0.36; 'smaller': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'wrong': 0.38; 'someone': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'still': 0.40; 'software': 0.40; 'ago.': 0.61; 'industry.': 0.63; 'safe': 0.63; 'developed': 0.66; 'military': 0.72; 'abandon': 0.84; 'coral': 0.84; 'death,': 0.84; 'figueiredo': 0.84; 'inherent': 0.84; 'mario': 0.84; 'recall,': 0.84; 'aircraft': 0.91; 'dennis': 0.91; 'died': 0.91 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=CvRCCSMD c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=IkcTkHD0fZMA:10 a=7YfXLusrAAAA:8 a=re8hexXwRx5Z73Hssl4A:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 Subject: Re: Python handles globals badly. To: python-list@python.org References: <1eee075d-7073-4875-9e42-2e053ee59b41@googlegroups.com> <0784va15gme91mqvoasfub3hvu59ehpepl@4ax.com> <201509102219.14138.gheskett@wdtv.com> <55F3A602.50906@gmx.com> <8hk8va5uljr0oqv0nrj6u3q9j72vffl7b9@4ax.com> From: MRAB Date: Sat, 12 Sep 2015 18:09:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <8hk8va5uljr0oqv0nrj6u3q9j72vffl7b9@4ax.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442077775 news.xs4all.nl 23821 [2001:888:2000:d::a6]:55306 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96435 On 2015-09-12 17:29, Dennis Lee Bieber wrote: > On Sat, 12 Sep 2015 05:11:46 +0100, Mario Figueiredo > declaimed the following: > >>On 12-09-2015 03:35, Mark Lawrence wrote: >>> >>> Ada took over from CORAL in the UK, at least in military projects. It >>> was also used in the aircraft industry. My old work mates tell me that >>> its completely died a death, to be replaced by C++. Someone please >>> remind me never to fly again. >> >>Alright. But then someone should probably have reminded you that a long >>time ago. >> >>Maybe you missed it when an Ada integer overflow bug produced one of the >>most expensive software bugs in history by crashing the Ariane 501 >>rocket and its 4 cluster sattelites payload. >> > > As I recall, the software did exactly what it was supposed to do in > that situation... > > But no one had tested the algorithm with the rate of change the Ariane > 5 could produce -- so an algorithm that was developed for, and safe with, > the smaller Ariane suddenly went "something's wrong -- abandon ship" > > Nothing inherent in the language... > What would C++ have done in the same situation? Would Ariane still have failed? Probably...