Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106502 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89018 invoked from network); 9 Aug 2019 21:17:24 -0000 Received: from unknown (HELO mail-vs1-f47.google.com) (209.85.217.47) by pb1.pair.com with SMTP; 9 Aug 2019 21:17:24 -0000 Received: by mail-vs1-f47.google.com with SMTP id h28so66049336vsl.12 for ; Fri, 09 Aug 2019 11:44:51 -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=1cPSeFHuq2L0k8ZSgimhtXcC6WMhVa20LEOpMEqO14A=; b=sjpEUZHOsQKj6JXKzIyR+6YnDCMVFvbRsEFQ6Oyhhp3Y17Ub8F1/DuP8m/xScXQC+n CAUuUQW8ZAy0+BXrxawI8z6pJ3m1CfA4RROdaLDiXOwf/Zoz+hygCMaxJr7J2f+SbQDi 0PDdcCi1HQ5VvWQOObklQoNKwQQFd5cfjFuYAn6uRTNz2XVSAmPElt74d9bVv9wgguMJ bDjrIg+GqX36VUVDjUlBVroj8a3KYpSWtyQogxiq0lSHEyK+c6bCJEvGkxk/SYf7ccA6 DAAIf+FQff+JlOCd6+w/X0WfjDTKlzXjUOhPOw/XBguvK9A5d+GvfglKFceH6SWfU2fU pPHg== 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=1cPSeFHuq2L0k8ZSgimhtXcC6WMhVa20LEOpMEqO14A=; b=ltgQe6oCkUGDgWEjffl+bSpSYfGtsu+BQER0e1H4JrGszXBUiMuEgLiwYyStixFpbP swgx/pvpcs1P2KvQZNl6g+MMOzfGAqMIKwqCm0vsjEgwKulQh1BZ5leu3yYIAtqhjCQJ x5EMhYqMaVjQOOCZMR2+6S7Q3KiWpjO6+/aPrTYkm80CRUk371+9/Cgo1Lo8lqk0Pon+ j0Uys70MdltVewr4PI4vE5/+ZfG2hrVvU5VTYc3bD7uw9Zq9hMlGnFIDynaGRiWlrh7g 1N89zfPVTbK4TNBarIopETAos1DM49VnMQeqrAJyk2Zk9WjwglXxPrNXyrLAcCIFnXZ1 bUeQ== X-Gm-Message-State: APjAAAWTfcyf9i898cHzMS+bx7TX57E8nC3HKxpXKIwHloiD5obxq3+W 8/iLQds/3GkUmui18GIF4qMDZhw+N7BW6GxFfr3dJpO1 X-Google-Smtp-Source: APXvYqz2Q3Is7U/75Orzg75zMOKJ8JLSAlS1MkVAPfBn6GRuxh0lFsoOMmOkpypgIk9poOnmtQdcF677Yr+yRoVjVeI= X-Received: by 2002:a67:da1e:: with SMTP id v30mr24564vsj.209.1565376291129; Fri, 09 Aug 2019 11:44:51 -0700 (PDT) MIME-Version: 1.0 References: <5d4ca16b.1c69fb81.bcb4a.9e51SMTPIN_ADDED_MISSING@mx.google.com> <5d4cb5e3.1c69fb81.31333.3db0SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Fri, 9 Aug 2019 14:44:39 -0400 Message-ID: To: Joe Watkins Cc: Mark Randall , PHP internals Content-Type: multipart/alternative; boundary="000000000000c5cd9e058fb3910c" Subject: Re: [PHP-DEV] Re: Bringing Peace to the Galaxy From: chasepeeler@gmail.com (Chase Peeler) --000000000000c5cd9e058fb3910c Content-Type: text/plain; charset="UTF-8" On Fri, Aug 9, 2019 at 3:02 AM Joe Watkins wrote: > Morning all, > > First, I want to say that I don't think the polarisation claimed to be > occurring is actually occurring. The vast majority of internals voters > appear to judge each RFC on it's own merit, while some of them give more > weight to retaining bc than others and that effects their vote, they didn't > decide how they are going to vote before reading the proposal. There are > some very vocal internals mailing list contributors that may give the > impression that there is much more dissent, from many more people, or much > more controversy than there actually is. A thread is not controversial if > some high percentage of the correspondence is from one or two person, it's > spammy. > > I agree. For the most part, the issue isn't with BC breaks in general. Short tags has become very contentious because those against removing them (like myself) see a HUGE downside to removing them and little, if any, upside. That's where the contention is coming from. I think some of the people on the pro-removal side have framed it as if those against removal were against BC breaks in general. Others then come along and scan through the thread and think the issue is a "BC good" vs "BC bad" one. I'm one of the people that has been pretty vocal against removing short tags. At this point, I'm not a huge fan of this proposal. I can't point to anything specific - it just doesn't feel right. I think one of the reasons, though, is because I'm not against BC breaks in general. When it comes to the proposal being made, that we develop ++ "overnight" > and "get everything right the first time" ... I'm not sure how serious > these statements are, on their face, they don't make much sense, although > they may just be the result of extreme optimism rather than non-thinking. > > As developers I think we all know that you'll never get anything right the first time. No matter how much thought and effort is put in ++, there are things that are going to be outdated, abused, or simply unnecessary further down the road. Then we'll be back where we started when it comes to BC breaks. > When it comes to the idea of editions, this would appear to have actual > merit, there's some overlap with the ++ idea, but they are distinct, and > editions and a more forward looking sustainable solution to the problems we > are facing and will continue to face. > > Now I just want to point out the subtle difference between editions, and > versions of a language (whatever it's name) ... > > Should we take up proposal one, and [magically] develop an overnight > language, we would have to version subsequent releases as per our > versioning guidelines, they would be subject to the same bc concerns that > versions of PHP are today. We would find eventually ourselves in exactly > the same position with ++ as we are with PHP. > > Should we take up proposal two, and start to develop opt-in editions to be > released alongside minor releases, these editions do not need to have the > same BC concerns as regular PHP. Should we make a horrible mistake in some > edition, we don't need to take 10 years to fix it, we may even fix it in > the very next edition. > > Cheers > Joe > > > > > > > > On Fri, 9 Aug 2019 at 01:53, Mark Randall wrote: > > > On 09/08/2019 00:08, Zeev Suraski wrote: > > > 2. Different people have different preferences. There's a reason that > > not > > > everyone is using the same language, or have the same mobile phone or > the > > > same car. Something it's not 'forward' or 'backwards' - it's about > > > 'different'. Is C++ better than C? Many would argue that it is, while > > > others will argue that it's not. Both can be correct, it's ultimately > > not > > > only a matter of objective truths, but also subjective perceptions, > > > preferences and the tasks at hand. > > > > I'd say C++ gives you extra tools to do the job you want to do, and to > > do them quicker, and safer (std::string vs char[]). > > > > > 3. Putting your apparent personal bias against backwards compatibility > > > aside - if P++ goes in the directions you're hoping for - towards > giving > > > you the goodies on your wish list, why would you care if PHP still > > existed > > > without these new changes/features? > > > > I'm not inherently biased against BC. But it doesn't exist in isolation, > > in my mind I have to weigh the benefits of BC with the benefits that > > breaking BC could bring. IMO, long term, the former is greatly > > outweighed by the latter. > > > > The thing is, I don't see PHP diverging in the way you suggest. I > > suspect it would end up being versioned within the same application, > > even though I suspect that would be much harder to pull off, it may end > > up that it's not actually possible. > > > > I was trying to think of something which could easily break if passed > > between two versions, and something which immediately came to mind was > > union types and reflection, a method which returned one string would > > need to return an array, or just the first, and so on. > > > > A "separate" version would certainly be easier. The ability to rip out > > everything which wasn't kept would no doubt simplify a lot of things, > > but I agree with Nikita's point that it only kicks things down the line > > until the next break. > > > > I think side-by-side engine versions are likely going to be the end > > result if it's possible. > > > > My heart says "clean break" my head says "side by side". > > > > Mark Randall > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- Chase Peeler chasepeeler@gmail.com --000000000000c5cd9e058fb3910c--