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 with existing
loop constructs. The RFC proclaims that using loops "less than ideal"
but provides zero arguments for it.

Introducing new keyword into a language should have a high barrier -
since it raises the complexity, makes the language harder to learn and
increases the number of corner cases and code to maintain. I fail to see
this syntax sugar providing enough value to clear the barrier.

> Voting will open on Monday, July 3rd, 2017 @ 9 am CDT.

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* time, not the time to strive for in any case.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to