Re: RE: Announcing RFC 'Anonymous Catches'
On 25 June 2013 20:17, Stas Malyshev <[email protected]> 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
Thread (18 messages)