Re: RE: Announcing RFC 'Anonymous Catches'
| From: | Stas Malyshev | Date: | Tue, 25 Jun 2013 20:19:45 +0000 |
| Subject: | Re: RE: Announcing RFC 'Anonymous Catches' | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67828@lists.php.net to get a copy of this message | ||
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.
> 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.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227