Re: [Vote] Partial Function Application

From: Date: Thu, 17 Jun 2021 08:01:52 +0000
Subject: Re: [Vote] Partial Function Application
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-114918@lists.php.net to get a copy of this message
Le Wed, 16 Jun 2021 11:16:28 -0500,
"Larry Garfield" <larry@garfieldtech.com> a écrit :

> Hi folks.  The vote for the Partial Function Application RFC is now open, and
> will run until 30 June.
> 
> https://wiki.php.net/rfc/partial_function_application

From the RFC:

> The ? character was chosen for the placeholder largely because it was
> unambiguous and easy to implement. Prior, similar RFCs (such as the original
> Pipe Operator proposal from several years ago) used the $$ (lovingly called
> T_BLING) sigil instead. So far no compelling argument has been provided for
> changing the character, so the RFC is sticking with ?. 

The main argument for $$ is to be able to have partial methods with $$->, this
 should be stated in this paragraph.

Côme


Thread (38 messages)

« previous php.internals (#114918) next »