Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106760 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 54966 invoked from network); 28 Aug 2019 20:49:10 -0000 Received: from unknown (HELO mail-ua1-f49.google.com) (209.85.222.49) by pb1.pair.com with SMTP; 28 Aug 2019 20:49:10 -0000 Received: by mail-ua1-f49.google.com with SMTP id s25so299949uap.7 for ; Wed, 28 Aug 2019 11:21:22 -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=d+ruLBaj9RTBghoKDggAGiKeQCZq8OZsb+YXSUHgG7s=; b=qaibLmAPBkjEjDJFmDRj1jtH7DCLLiRGFAj60ewu9AlsZqfq45Jq7uNecqs4eUDTcH cv42mbTkxVgNrTihkaNUWdjygaqu88Sjxn/7g9cdiT0bt19dik9q+qplGsjb1ZDfeAb/ vJq7SB7xrm/jFif6VN6dI37Qfqxr+J+MBLUqX+L06M1h6hO6HIFVhXo4w38pWKM9V5QV DgIdpcSz4IwgikwjBTW1KgDoXLmVQm+j1ngY+BztQWTur3KfMyZJnuQqB+Hrse509ei0 Iz9/l2IXmctep8iyF3fcQwbyAVLpkCdWarhmzv/in0Q2iwCGP3OXvVmtka9iEch7ltkB dAUw== 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=d+ruLBaj9RTBghoKDggAGiKeQCZq8OZsb+YXSUHgG7s=; b=hp/8NsUoETONNzJdSEYCqBKQDXpX9DrZjy8N7TLz7oz1lpEZ1OLIcGhjUQVwvJ9x8R 1/uPMakmYDdCJABpyaOkesQI6MqNbalSwl9w66rI/EhGmW75YdBJo+DHreiHrv2DffzV sDXpt67+avsaTUjohjh0/rDlC9z6xBiMJGsz89q+joIgoTbG3RNFSCQ99hp3BNKBfvc+ eK8VF1TAGDoSTspIN2lYQlrfVvWw7M96NI7nyS2DIk1U3G3ygzGeo+yhCqoZSphXHs6l 4pdRclgdLuSkV1XJjcRTxw/OQAbbpg/bke1EonoMtvyH1dU/GsraLISmAQZXCjll/+0k UMfQ== X-Gm-Message-State: APjAAAVHGeLgyBcfPELKOAysBFkiNK8/26J7hvVeFHOoq6IDI77eGqYq iUeL+WtdbRhTak9FRsT4VV3opP+oeJ00mYGIFLw= X-Google-Smtp-Source: APXvYqx+NFHWu4qairvFaT3EXT9g6KZnX2S4WDKpAfvP/yZ8iDBglyWRGmevAR6yKZjomCV6Ua2H3ij2mqFgwX5uZyw= X-Received: by 2002:ab0:443:: with SMTP id 61mr2803437uav.127.1567016481810; Wed, 28 Aug 2019 11:21:21 -0700 (PDT) MIME-Version: 1.0 References: <7ddbae5c-7451-4094-8b32-19676128054b@thelounge.net> <5d6699ce.1c69fb81.e9b71.2525SMTPIN_ADDED_MISSING@mx.google.com> <5d66a7ea.1c69fb81.fe3f.9126SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Wed, 28 Aug 2019 14:21:09 -0400 Message-ID: To: Matthew Brown Cc: Mark Randall , PHP internals Content-Type: multipart/alternative; boundary="000000000000c16d4005913174d3" Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: chasepeeler@gmail.com (Chase Peeler) --000000000000c16d4005913174d3 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 28, 2019 at 2:06 PM Matthew Brown wrote: > I'm no management expert, but I'd be surprised if a boss who won't set > aside time to fix a few undefined variables nevertheless green-lights > rewriting everything in C#. > > It wouldn't be rewrite everything. It would be doing future development using another platform (.NET, node, whatever) and letting the PHP stuff remain like it is. Fixes made when necessary, but, not just for the heck of it. Eventually the PHP stuff will get redone on the new platform and be retired - just like right now the legacy PHP stuff is slowly getting redone or replaced. I don't think that would happen, either, but, the more difficult the upgrade path becomes, the more likely such scenarios will be entertained. We're committed to paying down our technical debt, but, we have to do so on a timeline that fits in with the goals of our business and given our limited resources. If we can't depend on PHP to allow us to pay it down on our timeline, then it might become a choice between not upgrading or doing future development with a platform that doesn't threaten to make the upgrade path something that isn't feasible for us to accomplish. And, to be totally honest, this probably wouldn't cause that much of a delay in our upgrade plans. We'd probably be upgrading to 8.0 around the time that 8.3 was released. Chances are we would be 1 or 2 minor versions behind anyway. We're still on 7.0. We would be on 7.3 but we've experience some difficulties and had to roll back, and currently it's on hold while we knock out a few big projects. However, 10 years ago, my company operated very different. 10 years ago I can see pretty much everything I've talked about being a real possibility. If we operated that way 10 years ago, then there are plenty that still operate that way today. > On Wed, 28 Aug 2019 at 12:26, Chase Peeler wrote: > > > On Wed, Aug 28, 2019 at 12:12 PM Mark Randall wrote: > > > > > On 28/08/2019 16:37, Chase Peeler wrote: > > > > I'm also not the one that built it on the eggshells - I'm just the > one > > > that > > > > is now in charge of developing the system that someone else left > > sitting > > > > eggshells. > > > > > > That's a challenge which at some point or another will face all > > > technical leads. > > > > > > You have to go to the people making the decisions and say: > > > > > > "Okay, look, we've got ourselves a problem here. We've dug ourselves > > > into a hole by cutting corners, building up debt, and we've never made > > > it a priority to fix it, and now it's causing us problems. It's not one > > > person's fault, it's something that has collectively developed over > > > time, but the reality is, the problem is there and needs fixing." > > > > > > But that's a lie. We have made it a priority to fix things that are > > broken. I wouldn't consider undeclared variables cutting corners. We've > > also invested a lot into making sure we aren't building up additional > > technical debt with the new stuff we're fixing. > > > > > > > And when the manager asks "What problems?" you say something like: > > > > > > "The language we use is moving towards a much stricter approach to > > > handling ambiguous or error prone code. This can only be considered a > > > good thing, but it is going to mean that a lot of our technical debt is > > > going to manifest as errors that will stop our site from function..." > > > > > > Then the manager will go "Can't we just keep using the version we are > > on?" > > > > > > You reply: > > > > > > "We can for a short period, perhaps an extra year or two, but the > > > reality is that PHP is moving forward, and the current version won't be > > > supported forever, and even if it were, we would be missing out on > major > > > performance enhancements and new features that could help us to build > > > new features". > > > > > > Or, they go "Maybe we should look at some options that aren't always > > breaking things. Our other system built with C# has never had that > issue." > > > > > > > The manager says: "Lay this out to me" > > > > > > You reply: > > > > > > "It's like our company car still works, but it no longer tighter meets > > > emissions standards so they won't let us take it into the city any > more" > > > > > > In this case, it's like "Our car still works, but, you the left/right > > arrows on the volume knob have worn off, so, you can't tell by looking at > > it whether you turn it clockwise or counter clockwise to turn up the > > volume. > > > > > > > "Crap", the boss replies "Okay, we had best fix that" > > > > > > Boss replies "Yea, that sounds like a pretty stupid reason to have to > > upgrade. We'll wait." > > > > > > > -- > > > Mark Randall > > > > > > -- > > > PHP Internals - PHP Runtime Development Mailing List > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > > -- > > Chase Peeler > > chasepeeler@gmail.com > > > -- Chase Peeler chasepeeler@gmail.com --000000000000c16d4005913174d3--