Re: [PHP7] Remove the function keyword from class methods?
| From: | Stas Malyshev | Date: | Fri, 03 Oct 2014 21:14:15 +0000 |
| Subject: | Re: [PHP7] Remove the function keyword from class methods? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77770@lists.php.net to get a copy of this message | ||
Hi!
> Easy to implement, too. What are the list’s thoughts? I don’t think it really hampers
> readability much.
It's pretty faint praise - "doesn't hamper much". I think language
feature should do better than not hurting too much. We don't need to
change things and fragment the language just because we can do it
without hurting too much. Instead, we should think about what it would
improve - and frankly I don't see too much improvement coming out of it.
We've discussed this a number of times, it's not broken, it doesn't need
fixing.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/