Re: Revisiting the "Named Arguments" RFC

From: Date: Sun, 12 Jan 2014 11:22:50 +0000
Subject: Re: Revisiting the "Named Arguments" RFC
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Am 12.01.2014 10:50 schrieb "Lester Caine" <[email protected]>:
>
> Patrick Schaaf wrote:
>>
>> First of all, I'd love seeing this feature in PHP, and it would be a very
>> large incentive to upgrade to 5.6 asap when it would be included (without
>> bugs of course:)
>
>
> I simply have to ask. What do you think this will actually give you
productivity wise?

Proper call-site elision of uninteresting, should-stay-at-their-defaults
arguments. Better call-site readability because the options in use will be
named explicitly.

I have four or five places in our internal codebase where the
$options-array approach is already used for these reasons, and where we
feel the pain of explicitly managing that that is nicely described in the
RFC.

best regards
  Patrick


Thread (29 messages)

« previous php.internals (#71084) next »