Re: [PHP7] Remove the function keyword from class methods?
| From: | Arvids Godjuks | Date: | Fri, 03 Oct 2014 20:00:35 +0000 |
| Subject: | Re: [PHP7] Remove the function keyword from class methods? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77764@lists.php.net to get a copy of this message | ||
Hello internals.
I'm firmly against removing the "function" keyword. PHP is a dynamic
language, that means that even using the latest most functional IDE's out
there, finding the implementation is not always few clicks away (PhpStorm's
"Find Usages") and you need to do a search in the project. And the only
thing, that makes it fast and easy, is the "function" keyword, because you
can do a search by "function nameISearchFor" and get a single hit.
I'm not even mentioning the code readability...