Re: Removing Try and Catch
| From: | Marcus Boerger | Date: | Fri, 30 Jul 2004 17:56:01 +0000 |
| Subject: | Re: Removing Try and Catch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11685@lists.php.net to get a copy of this message | ||
Hello Stefan,
i thought of ignoring all of this thread but you didn't let me.
Exceptions are neccessary for constructor failure and there is no
other way to do it. BUT even though goto is needed for non oo
generator code (compiler compilers etc.) it is a dangerous thing
that basically promotes spagetti code.
marcus
Friday, July 30, 2004, 10:24:39 AM, you wrote:
> Hi,
> okay lets remove GOTO and of course also remove try,catch. You can
> emulate the whole try/catch thing with lots of unreadable do/while/break
> statements. So why insert a stupid construct, that can only help the
> developers to shoot themself in the foot.
> Stefan
--
Best regards,
Marcus mailto:helly@php.net