Re: RE: Announcing RFC 'Anonymous Catches'
| From: | Michael Wallner | Date: | Tue, 25 Jun 2013 18:49:07 +0000 |
| Subject: | Re: RE: Announcing RFC 'Anonymous Catches' | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67819@lists.php.net to get a copy of this message | ||
On 25 June 2013 20:17, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
> I don't think we need to change the language because Netbeans can't
> figure out how catch blocks work. This change doesn't provide any
> functionality that wasn't available before it, and does not make the
> code clearer - on the contrary, IMO it makes debugging harder and people
IMO actually it *makes* the code clearer, because $ignoredException is
not used, though a variable name like $ignored is self-explanatory,
too.
> reading the code more confused. In PHP, we always valued clarity over
> brevity, and I think we should keep it this way.
Duh, I find that statement a bit brave, though ;)
.oO(__{get,set,call,etc…}, object operators)
--
Regards,
Mike