Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106759 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51880 invoked from network); 28 Aug 2019 20:33:59 -0000 Received: from unknown (HELO mail-yw1-f43.google.com) (209.85.161.43) by pb1.pair.com with SMTP; 28 Aug 2019 20:33:59 -0000 Received: by mail-yw1-f43.google.com with SMTP id i207so201678ywc.9 for ; Wed, 28 Aug 2019 11:06:11 -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=4CYOC3HGt85Ktr3eP5xtmjO24NfFQuv7mEbiYvFChik=; b=gcquACTIbKqcBUrfAvEFtus5UMBsVB7Lg1rngt1W04fEGONPKgaqSCagbvc1RLJf2s 2Q6ENcbj17BX9jUmBZFM4UEdftAGSymB3/E06Iu/zl72lBJ+wqPIw92oj0aeXePtnYHo bjdVnPN7jjrCXulnMYT78yojTM9LcJyxipSMg0q4iit4eSXkyZEyofDRdxh0t0mY7vjs 6WhDlJKH4LX1zzrK6bcrcrusXUX+au3wcLXzP+Yo5tHam6CmO9s4Ik9/ntqe9gabi+f/ vLZGnAbpeOp7722Jmjbpcq49WHQyNbT0G7Efdigg9wDXnGDXM9clyoDtIDC/BIwz3365 MCeA== 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=4CYOC3HGt85Ktr3eP5xtmjO24NfFQuv7mEbiYvFChik=; b=pyMysqUISxb0F9e2xXXrE3iapo0EGrYd/6sCJw7gTqBOCKnZLijfiS5pC9VuI6cO1B Bs6wBNsP5kOVEDtRkEYHBwHGvvGPm/VTevQxO06SNkkTS2cPv0Y2eXWaVwaFh0xrt49B wDSZUdFvfMtS261PYZw+sAypbWFlUb55c9u2l9IVHbJAGNVTvhwWTqHqKAm6/y+yEm+2 pHKXGvYolhaDWMnc6B2AVZ0MFY35lAmwnRrjLxYFylCJ1w2K9fFa2HR9zFmG6PL4okID lZB1QQaNy17Xc8kmdGxIgGEQsDuwGV4GzzFuCjS9vRbv3q3ptgjChNtHHnNbaSJghYdw JBTQ== X-Gm-Message-State: APjAAAXq6Pj/PKk5geP85VtHpb/FKdl/5mjnZ8ye9vbLqwIl0QDzTJOT 1BG1q0r3GH1ijXqFI/ZBeLedX8lxJpRDAcV/0G0= X-Google-Smtp-Source: APXvYqwfjwtcXsPUqZlBnVTgH0VT8MtyjDDIxqVindwTOXXnJqzaV9PJxnPP9ut061eYR3WX/NeP26waM3gWwQNo+fQ= X-Received: by 2002:a81:9bca:: with SMTP id s193mr3934639ywg.316.1567015571440; Wed, 28 Aug 2019 11:06:11 -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:06:00 -0400 Message-ID: To: Chase Peeler Cc: Mark Randall , PHP internals Content-Type: multipart/alternative; boundary="0000000000007e49f30591313ebd" Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: matthewmatthew@gmail.com (Matthew Brown) --0000000000007e49f30591313ebd Content-Type: text/plain; charset="UTF-8" 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#. 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 > --0000000000007e49f30591313ebd--