Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9186 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13755 invoked by uid 1010); 15 Apr 2004 13:53:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13731 invoked from network); 15 Apr 2004 13:53:54 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 15 Apr 2004 13:53:54 -0000 Received: from [66.80.117.2] (helo=[10.80.116.129]) by longsword.omniti.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.14) id 1BE7JS-0004Gq-Ow; Thu, 15 Apr 2004 09:53:54 -0400 In-Reply-To: yqbznva> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <960D96A8-8EE4-11D8-B92F-000393B2B3C0@omniti.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Thu, 15 Apr 2004 09:55:42 -0400 To: Jani Taskinen X-Mailer: Apple Mail (2.613) Subject: Re: [PHP-DEV] Exceptions and Errors From: george@omniti.com (George Schlossnagle) On Apr 15, 2004, at 9:49 AM, Jani Taskinen wrote: > On Thu, 15 Apr 2004, George Schlossnagle wrote: > >> On Apr 15, 2004, at 8:28 AM, Christian Schneider wrote: >>> No, I dislike them because they create more problems than they solve. >> >> Then don't use them. You're a bit late to the party to debate their > > But if some extension (e.g. sqlite) forces you to use them? > (yes, I can always use the non-OO-API, but still..) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Yep. Or use it in the documented way. I don't see what the flap is about. It's not mysterious. It's doc'd that constructors throw exceptions to signal failures. Refusal to use something in the documented (and standard, as far as other OO-centric languages are concerned) way solicits little sympathy from me. George