Re: [RFC] Callable Types

From: Date: Fri, 22 Apr 2016 09:09:13 +0000
Subject: Re: [RFC] Callable Types
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-92633@lists.php.net to get a copy of this message
On 22/04/2016 05:12, Marcio Almada wrote:
Hello everyone, We just completed the draft for the "Callable Types" RFC. This RFC has been recently mentioned during other type related threads on this mailing list, so it feels to be the right time to put the proposal in context: The proposal is at https://wiki.php.net/rfc/callable-types The W.I.P patch is available for testing through http://3v4l.org under the RFC tab. We count with your detailed feedback and insights. Let's have a nice, respectful and constructive conversation about the RFC and work on possible improvements!
Very cool to see work on this. The lack of clear signature definition is definitely one of the main hurdles to using "callable" in interfaces for plugin systems and such where third parties have to integrate. Not much else to say, the syntax reads a bit weird/heavy being all in-line with the function signature but at the same time I can't imagine how else it would work that would be any better. Cheers -- Jordi Boggiano @seldaek - http://seld.be

« previous php.internals (#92633) next »