Re: [PHP-DEV] Removing Try and Catch

2004-07-30 Thread Johannes Schlueter
Hi Marcus, Marcus Boerger wrote: > 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. So what about removing constructors, too? $object = new class; if (!$object->init()) die; (no, this wasn't

Re: [PHP-DEV] Removing Try and Catch

2004-07-30 Thread Marcus Boerger
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 spa