Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc
On 02/19/2013 03:45 PM, Levi Morrison wrote:
> The key question for me is: does removing it hurt PHP in any way? And
> for me, the answer is a clear and resounding no. I do not grep code
> for method definitions: I know exactly where they are and so will my
> IDE if I happen to not be using vim. And for those who like to grep
> for method definitions they can keep the keyword present.
Except when I come along and try to grok your code. I rarely search my
own code.
From the very beginning of PHP we have always favoured readability over
fewer keystrokes.
-Rasmus
Thread (34 messages)