Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106461 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55571 invoked from network); 9 Aug 2019 01:41:38 -0000 Received: from unknown (HELO mail-ot1-f54.google.com) (209.85.210.54) by pb1.pair.com with SMTP; 9 Aug 2019 01:41:38 -0000 Received: by mail-ot1-f54.google.com with SMTP id q20so125347872otl.0 for ; Thu, 08 Aug 2019 16:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x8RwNwXKVoIGzIkghNc0SiCx7NcK++YIOS/2dOXWFuQ=; b=iMwoEUz4lOBv7zKJa4ZnKARQEk3VZRPCvhnrm0j0bDF30WCIx5CrUmGBRiImUxwb7j yYviR4JuNUyXd3emZ5oEOph5OJhfOO6YaTCsm0eIjePyRKjPCNYPDJKbp7bCyZumtCx7 P/SrYrb5IOg7JNBBDC2Yo0+pfvwJiCW1MJCeOlm1cXz26wNNNaIUzfjolDE96lLXoMNY wOVauSWaZb1AxtYRJsM1t0syjtkKMjXYRAHCh+0ptNIhlkkJ6mokczBA3wMCp6LplDt5 3M0yhzLhAWAZsakfMwLw9VawiPRrAvWhCelKkMfhm+w2d8rznGiwOlCdA/Yp1TDfx7vx JPvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x8RwNwXKVoIGzIkghNc0SiCx7NcK++YIOS/2dOXWFuQ=; b=dvroxTfQgxWXBMQRjUM127ccoAQnOlIhEnVoLW1+CLygOvgZGAyJwkNHD0YuWTpII1 rLhNRRLXKoURr8rwtydNGqmQoxzwbLLH2qZt12gSpEJCFWs/a+8ejqU7m4j5EBYpzEHq 7XAb86AC2QmusYgGaKAmkh1lXd6/cLl7IgQWZtGwCxnnOKd+AFV9Wa9NH2d7OppXucdS P6/I39fqHE7PLPLiYVm1/ZJnHtGcY6kNibuJmmX8+B7jsl3nxhij9Fa5A+fgw4k9Sf+j KSta86Xzm6XT9z1vN4X1eZP1HWVv1+lRE8MOS8twSBuCTLi0DXL6SsZQaZLwbK5o7ZZR 2wxA== X-Gm-Message-State: APjAAAU0an5JSbEG7caC7vsGnXLj07U7VAiaayGnAXzlR8njohKkWHz+ BEoLQ69aIjvJhwhQQqh8Zva3P2W5iP2PDqYiHmU= X-Google-Smtp-Source: APXvYqwgbuVQu6PLFs40FvfxMQbMcnqP2jOzReIDuktyr0el7Co4/AqerUAsxsscIS3vo2rr1KWXc/s/5rRxtZEoz0A= X-Received: by 2002:a5d:948f:: with SMTP id v15mr16789161ioj.93.1565305733688; Thu, 08 Aug 2019 16:08:53 -0700 (PDT) MIME-Version: 1.0 References: <5d4ca16f.1c69fb81.d5f3a.63a4SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5d4ca16f.1c69fb81.d5f3a.63a4SMTPIN_ADDED_MISSING@mx.google.com> Date: Fri, 9 Aug 2019 01:08:42 +0200 Message-ID: To: Mark Randall Cc: PHP Internals Content-Type: multipart/alternative; boundary="00000000000038be1f058fa324f4" Subject: Re: [PHP-DEV] Re: Bringing Peace to the Galaxy From: benjamin.morel@gmail.com (Benjamin Morel) --00000000000038be1f058fa324f4 Content-Type: text/plain; charset="UTF-8" > > I'm going to speak strictly as a userland PHP developer, for that is > what I am. > The idea of PHP being held hostage to eternal backwards compatibility > fills me with absolute dread. > (...) > I can deal with short term pain for long term gain. > What I would struggle to deal with is committing myself and my clients > to a language and ecosystem where history was constantly allowed to > trump pragmatism. > I understand it's obviously a big challenge for the internals team and > its contributors to create coexistent systems with versioning, but I > would simply offer the following: > If you're not going forward, you're falling behind, and sometimes going > forward requires sacrifice. This could not better match my feelings. I've been a userland PHP developer for the last 15 years, have quite a trail of code behind me, and would also love to deal with BC breaks. No pain no gain. Benjamin On Fri, 9 Aug 2019 at 00:25, Mark Randall wrote: > On 08/08/2019 21:17, Zeev Suraski wrote: > > [... and not in the Sith Lord kind of way.] > > Thoughts? > > I'm going to speak strictly as a userland PHP developer, for that is > what I am. > > The idea of PHP being held hostage to eternal backwards compatibility > fills me with absolute dread. > > I've built most of my career on PHP, I find it a very powerful platform, > but I find it lacking in some major areas. Some of those have reasonable > workarounds (React, Swoole) and some of them do not (var level type > enforcement, generics, universal annotations, first class functions and > other symbols, union types, CoW classes etc). > > I hope that some day, these problems are going to be fixed, but in the > process I understand they may pose backwards compatibility issues. > > If PHP as a language cannot push forwards out of a concern for perpetual > backwards compatibility, then I have to start questioning if it makes > sense for me, and those I work with, to continue using it in the long > run, vs a platform which is willing to find a way to make those changes > and push things forward. I'm thinking 5 - 10 years here. > > As a developer, having to spend time on fixing BC breaks is obviously a > cost. However, not having things that would have saved me time, or > allowed me to write better code if they were there, but weren't added > because of BC, is also a cost. > > To my mind, I would be happy to see a situation where I can stick a > declare in my file that says "Give me the good stuff and I will find a > way to deal with the BC breaks". > > I can deal with short term pain for long term gain. > > What I would struggle to deal with is committing myself and my clients > to a language and ecosystem where history was constantly allowed to > trump pragmatism. > > I understand it's obviously a big challenge for the internals team and > its contributors to create coexistent systems with versioning, but I > would simply offer the following: > > If you're not going forward, you're falling behind, and sometimes going > forward requires sacrifice. > > Mark Randall > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --00000000000038be1f058fa324f4--