On Tue, Jun 20, 2017 at 12:47 AM, Stanislav Malyshev
wrote:
> Hi!
>
> Also, having only 2 weeks to discuss about introducing a new language
> keyword sounds like extremely short period. Especially at the summer
> when many people go to vacations. There's no rush, really. 2 weeks is a
> *minimal* t
Hi!
> The RFC that proposes adding retry functionality to the
> `try/catch/finally` block is now officially "under discussion".
>
> https://wiki.php.net/rfc/retry-keyword
To me, it looks like this belongs in userspace, not as a language
keyword. I don't really see what it does that you can't do
Hi all,
It might be useful to incorporate the "retry if" condition that'll likely
arise in use of this, into the feature itself. Such that after the retry
keyword you could optionally specify a truthy value.
Then you could write something like
$retries = 5;
try {
// …
} ca
Hi,
No problem, I just had changed the status of two RFCs. It's OK now. I
just said people should check their changes because one of my changes
was to move an RFC from 'in discussion' to 'accepted for 7.2' and, after
Kalle restored the page, the RFC was in 'Pending implementation', where
it n
On Mon, Jun 19, 2017 at 1:30 PM, François Laupretre
wrote:
> I don't know which version you restored, and clicking on the glasses to
> display differences between versions does not display anything, but I lost
> the changes I did before the page was overwritten. I will do it again but,
> IMO, anyb
I don't know which version you restored, and clicking on the glasses to
display differences between versions does not display anything, but I
lost the changes I did before the page was overwritten. I will do it
again but, IMO, anybody having changed something on the main RFC page
recently shoul
Hi
2017-06-19 20:05 GMT+02:00 François Laupretre :
> Hi,
>
> It seems you just overwrote the RFC main page (https://wiki.php.net/rfc)
> with your 'retry' RFC (with the 'remove words "visual debt"' change).
>
> I tried to follow instructions to revert to the previous revision (select
> revision and
Hi,
It seems you just overwrote the RFC main page (https://wiki.php.net/rfc)
with your 'retry' RFC (with the 'remove words "visual debt"' change).
I tried to follow instructions to revert to the previous revision
(select revision and click 'Edit this page') but it does not seem to
work (the
Hey Sammy,
>From a language design perspective, this is syntactic sugar that brings a
lot of cost for anyone working on optimisations.
In most scenarios that I worked on, the retry functionality should always
be written as following:
try {
$externalCollaborator->doSomething($with, $a, $lot,
Hi Sammy,
On 19 June 2017 at 14:55, Sammy Kaye Powers wrote:
> Hello internals!
Please could you add to the RFC a description of what a 'break' in a
retry block actually does? Although there is an example for it, and so
people can guess what it does, having it described clearly would be
better.
>
> Hello internals!
>
> The RFC that proposes adding retry functionality to the
> `try/catch/finally` block is now officially "under discussion".
>
This feature seems like something that would be extremely useful. However,
the proposed syntax for the number of retries for a block level seems to
Am 19.06.2017 um 16:24 schrieb Ivan Enderlin:
Thank you for the RFC. I have a question though. I would like to know
how is it different from the `goto` language construction?
If I understand it correctly, both the following examples are identical:
try {
// …
} catch (…) {
Hello :-),
Thank you for the RFC. I have a question though. I would like to know
how is it different from the `goto` language construction?
If I understand it correctly, both the following examples are identical:
try {
// …
} catch (…) {
retry;
}
and:
try {
Hello internals!
The RFC that proposes adding retry functionality to the
`try/catch/finally` block is now officially "under discussion".
https://wiki.php.net/rfc/retry-keyword
Voting will open on Monday, July 3rd, 2017 @ 9 am CDT.
Voting will close on Monday, July 17th, 2017 @ 9 am CDT.
Discus
14 matches
Mail list logo