Re: Re: Long Live GOTO
| From: | Adam Richardson | Date: | Mon, 06 Feb 2012 17:13:28 +0000 |
| Subject: | Re: Re: Long Live GOTO | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316484@lists.php.net to get a copy of this message | ||
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,
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com