Re: Re: Long Live GOTO
| From: | Larry Martell | Date: | Mon, 06 Feb 2012 17:59:43 +0000 |
| Subject: | Re: Re: Long Live GOTO | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316488@lists.php.net to get a copy of this message | ||
On Mon, Feb 6, 2012 at 10:13 AM, Adam Richardson <simpleshot@gmail.com> wrote:
> On Mon, Feb 6, 2012 at 12:09 PM, Larry Martell
> <larry@software-horizons.com>wrote:
>
>>
>> The source is my own personal experience working for an avionics
>> company and working with the FAA to get our code certified under the
>> DO-178B standard. I never saw anything that said 'no GOTOs' but that's
>> what I was told. I was also told no C++ was allowed nor was any
>> recursion. This was important to me, as we had purchased some code
>> that was all that (C++, with recursion and GOTOs) and I was given the
>> task of rewriting it in C and removing the gotos and the recursion.
>>
>
> Now that was probably a lot of work! Interesting that C++ was not allowed.
>
> Thanks for the background information,
I was a lot of work, but I was a contractor getting paid by the hour ;-);
I just pulled out my notes from that job - it took me 59 hours to do
the conversion and remove the gotos and recursion, and another 67
hours for testing, verification, integration, documentation, and
certification.