Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67830 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4339 invoked from network); 25 Jun 2013 20:23:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2013 20:23:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:42081] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/54-18197-B3CF9C15 for ; Tue, 25 Jun 2013 16:23:24 -0400 Received: from [192.168.2.20] (ppp-88-217-86-216.dynamic.mnet-online.de [88.217.86.216]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id B482D65F1B; Tue, 25 Jun 2013 22:23:20 +0200 (CEST) To: Stas Malyshev Cc: Sherif Ramadan , Michael Wallner , Joost Koehoorn , "internals@lists.php.net" In-Reply-To: <51C9FB61.3050903@sugarcrm.com> References: <4ED7146272E04A47B986ED49E771E347BB4DF6F235@Ikarus.ameusgmbh.intern> <51C9DED2.5080401@sugarcrm.com> <51C9F485.6050709@sugarcrm.com> <51C9FB61.3050903@sugarcrm.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 25 Jun 2013 22:23:13 +0200 Message-ID: <1372191793.2389.80.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches' From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2013-06-25 at 13:19 -0700, Stas Malyshev wrote: > Hi! > > > If I'm to understand this RFC correctly, it is nothing more than a > > random suggestion someone posed in the form of a tweet and the author is > > saying why not add it since it's not hard to implement. So in summation > > Well, here we go - this is why not add it, because it makes working with > such code harder without actually benefiting anybody. +1 Right now I set a breakpoint in my editor and look at an exception even if it is not used, in future I'd have to change the code for that. > > So this entire discussion can be summed up nicely with "Let's make the > > variable optional because... why not?". > > "Why not" is usually not a very good principle of language design, IMO. +100 johannes