Re: [RFC] Supports 'finally' keyword for PHP exceptions
| From: | Andrew Faulds | Date: | Tue, 24 Jul 2012 17:42:11 +0000 |
| Subject: | Re: [RFC] Supports 'finally' keyword for PHP exceptions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61708@lists.php.net to get a copy of this message | ||
On 24/07/12 18:38, Stas Malyshev wrote:
Hi!I'm not suggesting PHP do things because Python does them. I'm just saying that 1) keeping things because they've always been done one way is not a good reason to keep them, and 2) just because Python does the same or a similar thing, does not mean PHP is "turning into Python". -- Andrew Faulds http://ajf.me/PHP risks losing some of its uniqueness to fixing things, unfortunately. But losing bad features and moving forward is good, right?I'm not sure what you are talking about here, but I'm sure I can not accept argument "Python does it this way, so we must do it exactly the same way even if we have to rewrite whole engine and change whole approach of how things done in PHP". If you want exactly what Python does, you always have Python. It's fine to look into what Python does, but how it fits PHP and uses cases of the *PHP* users should always come first, and implementation details of how Python or any other language does things can be a guidance, but never should override this. So if Python does finally in certain way, fine, but it's no no way by itself defines how PHP should do it. What?