Python handles globals badly.

MRAB python at mrabarnett.plus.com
Sat Sep 12 13:09:32 EDT 2015


On 2015-09-12 17:29, Dennis Lee Bieber wrote:
> On Sat, 12 Sep 2015 05:11:46 +0100, Mario Figueiredo <marfig at gmx.com>
> 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...




More information about the Python-list mailing list