Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc

From: Date: Tue, 19 Feb 2013 23:49:49 +0000
Subject: Re: Dropping requirement for `function` keyword for methods in classes/interfaces/etc
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-66007@lists.php.net to get a copy of this message
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

« previous php.internals (#66007) next »