Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45058 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63307 invoked from network); 21 Jul 2009 16:30:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2009 16:30:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2990] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/C5-02180-83DE56A4 for ; Tue, 21 Jul 2009 12:30:49 -0400 Received: (qmail 36500 invoked by uid 98); 21 Jul 2009 16:30:49 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 (clamdscan: 0.88.7/9593. Clear:RC:1(127.0.0.1):. Processed in 0.075913 secs); 21 Jul 2009 16:30:49 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 21 Jul 2009 16:30:49 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 21 Jul 2009 11:30:49 -0500 (CDT) Message-ID: <57011.99.18.1248193849.squirrel@www.l-i-e.com> In-Reply-To: <4A65EB61.6050604@cschneid.com> References: <7.0.1.0.2.20090708224156.0ac5a438@zend.com> <312025EF-84D0-4411-A0A7-4F0379C3105F@pooteeweet.org> <13.B7.23850.208375A4@pb1.pair.com> <20090710132324.GM19636@mint.phcomp.co.uk> <98.71.37812.2D6575A4@pb1.pair.com> <20090710151651.GR19636@mint.phcomp.co.uk> <48.78.37812.B23675A4@pb1.pair.com> <64234.99.18.1248192291.squirrel@www.l-i-e.com> <4A65EB61.6050604@cschneid.com> Date: Tue, 21 Jul 2009 11:30:49 -0500 (CDT) To: "Christian Schneider" Cc: internals@lists.php.net User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Type hinting - Request for Discussion From: ceo@l-i-e.com ("Richard Lynch") On Tue, July 21, 2009 11:22 am, Christian Schneider wrote: > Richard Lynch wrote: >> I think anybody who is coding with strict/weak/contract >> type-enforcement/casting is going to understand >> try/catch/Exceptions... > > I'm not going to start an pro/contra Exceptions rant but *please* keep > Exceptions out of the core language itself, that's a line we should > not > cross IMHO... > > This posting is mainly for the record (currently there is an agreement > to not use Exceptions inside the core and I'm in favour of this) and > anyone who wants to discuss Exceptions with me should do it off list, > I > will not discuss this here ;-) I apologize. Elsewhere it was stated that they were to be kept to a "minimum". If they are out entirely, by all means, keep it that way. I am not a fan of Exceptions myself. Integrating with a badly-written exception-based library is even worse than integrating with a badly-written error-messaging library. If the library is well-written, either works equally well. :-) -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch