Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51878 invoked from network); 20 Jun 2017 05:47:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2017 05:47:08 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.46 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 74.125.83.46 mail-pg0-f46.google.com Received: from [74.125.83.46] ([74.125.83.46:34325] helo=mail-pg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/AF-13828-AD6B8495 for ; Tue, 20 Jun 2017 01:47:07 -0400 Received: by mail-pg0-f46.google.com with SMTP id e187so5933132pgc.1 for ; Mon, 19 Jun 2017 22:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=x79Ncz4Uq0pzgkAGqel69vsrTslNkXJmo4T8rdA47Ic=; b=p45BZ0wnFyPsEiBYv7QL6DndHiVI5uy6q4SOv/Ckm5XX3cG7250vX02lRs6Z2DYdn1 9jZJgGJEK3McgjcVRCTA+GQTnOBW7QqT3YI/6w2nFDhBRn6wmFZy8dGImTNWbJhZPReC FV6HSKgzb9s4EiWL2TqFhjr3WP43Db75/YpZPhiOLqWQ934c6DeqDimm1jaZfe8VsAWO OftlL9fz49Gz2Mkx0HfvEQGD4HPDR/vSMmqSFySCTiA7Um681b5znYVfwEk1AEP65rkY /Utt2+QfX2WucJEG+3UInmhhp6FL8YtVcEcULlGIvANBLZShFfj3qstx+bfL3X5/lB8s 7iPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x79Ncz4Uq0pzgkAGqel69vsrTslNkXJmo4T8rdA47Ic=; b=ITO+aZJ2hUIyrcZGzxfk+O8oiNVQZixs0cusXGJDKDEEvn2S+kF28CHRcRDUDySsQk hAVAGAG1Csi3Ntx26Jnh2iGFRIfIT4wGeQGFVZ/TDomFA/1DGDh7SjAi+TsFKJJUBouJ +pv1i6mBui6Ljh+OEJTTzLRXOFr+djVv6ksexdKgoTO/MPimapcdjn3tPXrnM7dysU7f 7LbHkHz+yDEX2dRDLcR2VbQtyH0Kc/RThPdSA6+joHHRy1myNKbNH78jZzeQ2rT98F3u 3bX6ewG0DYGdQX3vAEohktr4U8c/VaGB6hr5lsMVdPwHvvpVWHGn+3Oko7Ova8L7aGpy crfQ== X-Gm-Message-State: AKS2vOy0aIc1rcmSMhRmDsLzReT7dpQpovkfWeOxPOUbicXVED7gzwvS ccZz9S7JgWYvFdkP4Io= X-Received: by 10.99.140.9 with SMTP id m9mr30248129pgd.49.1497937624214; Mon, 19 Jun 2017 22:47:04 -0700 (PDT) Received: from Stas-Air-5687.local (108-233-206-104.lightspeed.sntcca.sbcglobal.net. [108.233.206.104]) by smtp.gmail.com with ESMTPSA id 79sm26368790pgg.46.2017.06.19.22.47.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 22:47:03 -0700 (PDT) To: Sammy Kaye Powers , PHP Internals References: Message-ID: <99b05ca9-f3c8-92e7-6c04-134253ec1525@gmail.com> Date: Mon, 19 Jun 2017 22:47:35 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [Discussion] Retry functionality From: smalyshev@gmail.com (Stanislav Malyshev) 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 smalyshev@gmail.com