Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76610 invoked from network); 3 Dec 2017 01:41:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2017 01:41:41 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.179 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.179 mail-ot0-f179.google.com Received: from [74.125.82.179] ([74.125.82.179:41013] helo=mail-ot0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/E4-09988-356532A5 for ; Sat, 02 Dec 2017 20:41:40 -0500 Received: by mail-ot0-f179.google.com with SMTP id b54so12048401otd.8 for ; Sat, 02 Dec 2017 17:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Nd5hAYZeAhY5LTzWs4D0BjQJGI6gN7+XAMmNVQC7G0c=; b=Exz5Mna4lVphjOPywNvjfhyC5RGYVeXHm2CQDWl8lIpiuHkk8K3r1YtnuxuG7GNuOG wAw+guH+Hi+vfMzf0tKZlTVL4iqFqDvwoLCRsYEuFaDjkzrm2C/Yc0SG8h7+sDzr9x7I 97RzEM08FKIW/3omBG5rOoYAWGT+afY1qnXSw3UOBrtyiGJ1TBILROeo/Q+dRw+gFRN/ /On9Cu2Gz9KChQrwVWkFZCuwYtbcLJTVH0H0kjI4d9Z7p95Ou8MJmNzCvDb0oiEdITZY 9T7k97XoOo5GCCniPxwnm7h5qE9D3+bVycBlqjMFU5nueQe2vACcqw6jhjD9mVf4yaDi Q8NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Nd5hAYZeAhY5LTzWs4D0BjQJGI6gN7+XAMmNVQC7G0c=; b=IFfNXH6Zqf7X7ZyPnMW6eeUIS04Qg6GLylY8nvzHoTvJY4WDDYq8ULWfz/xNdCvhEB E0Acj8/WtPwvoylzfmFpb++fdWmbcHlWkKpTWyvMSprxug1Wxte35lLCfrLj8lvXHXC0 Lw2C8ZAXm88htNDxJPjkn12QQe68LMFiedUygX/QteCeHcHCYwou3F5TJf4ebTDIi0js oyXvAbtOq7szebJzZt26HsIvbVE8+kvxBbESREWPEpLAZdH/foLOWjGHfXK7Rbukm9D7 pG87CHO9xLSG92iPx2MusQGiY9eiRCvgh4ks7bVIUv8d9b2oHgsouNKsxKH62p/zNeQa Ut5A== X-Gm-Message-State: AJaThX4OKJaTVAS0b5/wj4/oR7AOoBbdhCU4K62qzzoUjwthDaPJODeC L3Aa+j+WYPmiWeivJl5GZFsP1IfwnHQG7UUbrR8= X-Google-Smtp-Source: AGs4zMbb8G1dRUDeqVz9h74+aZ+1IghqW2ken55dhXSPg7filIsOpMnKU2LqWQq5+ggaHrdql7wvpwf7OXUcYfKzzF4= X-Received: by 10.157.29.146 with SMTP id y18mr13201295otd.371.1512265296713; Sat, 02 Dec 2017 17:41:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.69.196 with HTTP; Sat, 2 Dec 2017 17:41:36 -0800 (PST) In-Reply-To: References: Date: Sat, 2 Dec 2017 20:41:36 -0500 Message-ID: To: Alexei Gerasimov Cc: Andreas Hennings , Niklas Keller , "Christoph M. Becker" , PHP Internals Content-Type: multipart/alternative; boundary="001a113e5180d11bbf055f65b372" Subject: Re: [PHP-DEV] C++-like function-try-block proposal From: theanomaly.is@gmail.com (Sherif Ramadan) --001a113e5180d11bbf055f65b372 Content-Type: text/plain; charset="UTF-8" On Sat, Dec 2, 2017 at 3:44 PM, Alexei Gerasimov wrote: > > > > Let's not forget PHP 5 has been around for over a decade before PHP 7 > even > > showed up. There are still a lot of old code basis that've been running > in > > PHP 5 for years. And for large code basis with deep rooted legacy, it is > no > > short order to make the leap. Change for the sake of change won't help > that. > > I lost it here. I'm proposing a backward-compatible change, so why speak of > legacy and existing codebases? > There's no argument that the change is not forward-compatible. I'm merely pointing out the burden of adding new language features. This is not to deter from adding them, but to caution against excess. There is a cost to learning a new language feature, updating its documentation, considering its trade offs in software design, etc... Part of this cost is shared between those who maintain PHP and those who use PHP. My statements here are intended to be cautionary, not dissuasive. --001a113e5180d11bbf055f65b372--