Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR]
| From: | Sterling Hughes | Date: | Thu, 27 Mar 2003 17:54:12 +0000 |
| Subject: | Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR] | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-388@lists.php.net to get a copy of this message | ||
On Thu, 2003-03-27 at 13:13, Andi Gutmans wrote:
> At 12:37 PM 3/27/2003 -0500, Sterling Hughes wrote:
>
> >Just a note on this. People have avoided OO cause OO sucked.
> >
> >Exceptions themselves are *incredibly* useful, especially when dealing
> >with database code (the majority of php applications), so I think you'll
> >see that portion of php used quite a bit. I know personally I'll stay
> >very procedural, but almost all error handling will be done with try { }
> >catch { }.
>
> Yeah but you don't need incorrect function calls to throw exceptions. I'm
> sure that's not what you're meaning to use them for.
>
not at all. I was more refering to the usefulness of george's patch.
-Sterling
> Andi
--
"A business that makes nothing but money is a poor kind of business."
- Henry Ford