Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106742 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 10076 invoked from network); 28 Aug 2019 18:05:30 -0000 Received: from unknown (HELO mail-ua1-f44.google.com) (209.85.222.44) by pb1.pair.com with SMTP; 28 Aug 2019 18:05:30 -0000 Received: by mail-ua1-f44.google.com with SMTP id m23so106917uaq.11 for ; Wed, 28 Aug 2019 08:37:41 -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=p1BJfxRayRHb/INO9xFDPpTvA2UJFiX/gIrXhadUnkE=; b=jkOs7IO/oKCLmoTdDjD45zatLeN8h+/VSB4P8w9SDzoLnYgV52dv6JI/GUcrGstmZs MSh0DC/ojVkUcp0n03OlH7CTmTks0pu9STgoE3KdZ8fIyGx47cOQ/a2E7xLyq8VrhF7U sTnqjO+d8PZlyggmXl48+2NsOUxIplasaP3+eblc2a3ungkGo7hBr9M1hVu5dlhv4Lti vJTjNZY2/YzfCErJ8YrvzLWottSgLrPsdoWe30/h9SN4VNKWPMB8rUtJay/daW1uW12H 8zjMbSOtzTdWRuixwWpms85jTRms50TYR64gA62diBi1I/BKf+Wd7UflffAyNyyzwWJw 1ytw== 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=p1BJfxRayRHb/INO9xFDPpTvA2UJFiX/gIrXhadUnkE=; b=OLHDW9rpEnAEb07nZUJsgOTNVPJ2hjrvs5EmX3GntyeHXOvuB45dzSOFn59zM9dc40 U4dGdTuHOBih+NW75rsR4voXJhzJrwclBejqMm1LrNQc2Axqiq8fx2HB5Rci4ZglBAwR aep02CzJ12+t37u+sXSgrLq2P3l1JViPMOH9O+GkuEEFfH0I7rgeX9LPLygUtbo1aZD5 ccbdGGQWP8h+1JrdCJ2wbEBgs7PIm30OQFDOYEq82fmsraJv48LdX0APJisV7ihDe07L a3SNCyeeQZEfzEc1emWiqbZQ3GvslwjYqXUm6wmEPYuhhoTklDDGfR9QZXseA13cdGMP cIjQ== X-Gm-Message-State: APjAAAWPf9FhWCiVseLNhTFJ/4cEabugaP/JnsG19GiCE7uxCWvTGszJ RtpweDGMPpyR7Skv2QWC+Bd+8MNzvFlSTPtTJJE= X-Google-Smtp-Source: APXvYqx14E89sVp2axGC+Ds8VL3junj8zbvrtgthvlAW1g/m2FH5TIxo2G0KjbBl8fqZyke8tpL00N1HJUHXSRbsjBs= X-Received: by 2002:ab0:3359:: with SMTP id h25mr2305189uap.132.1567006660774; Wed, 28 Aug 2019 08:37:40 -0700 (PDT) MIME-Version: 1.0 References: <7ddbae5c-7451-4094-8b32-19676128054b@thelounge.net> <5d6699ce.1c69fb81.e9b71.2525SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5d6699ce.1c69fb81.e9b71.2525SMTPIN_ADDED_MISSING@mx.google.com> Date: Wed, 28 Aug 2019 11:37:28 -0400 Message-ID: To: Mark Randall Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000604f0b05912f2bc6" Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: chasepeeler@gmail.com (Chase Peeler) --000000000000604f0b05912f2bc6 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 28, 2019 at 11:12 AM Mark Randall wrote: > On 28/08/2019 15:54, Chase Peeler wrote: > > Bottom line is that we live with the not-so-good stuff so that we can > focus > > on adding new great stuff. The not-so-good stuff isn't holding us back, > and > > trying to fix things like undeclared variables would have absolutely ZERO > > positive effect on our business, which uses this application every day. > > This is a classic case of technical debt. It might not bite you in the > ass today, tomorrow, or next week, but it will inevitably bite you in > the ass at some point, and the longer it's left, the more it's going to > hurt when that time comes. > Yes, it is. However, it's technical debt that is no longer growing. We make payments on it when we can, but, the majority of our limited resources are focused on building new things, we a careful focus on minimizing technical debt as much as possible (I don't think it's possible to totally avoid it). > Don't build your business on a foundation of eggshells and then complain > when something comes along that makes those eggshells crumble. > > I think our foundation is a bit stronger than that, but, I'll go with the analogy: All I'm asking is that we don't purposely try and break those eggshells if it isn't necessary. 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. I'm the one in charge of making sure our business (not a software company, by the way) that uses that system continues to grow, regardless of whether it's built on eggshells or diamonds. > -- > Mark Randall > > Just keep in mind that the harder the upgrade path is, the more people there are that just won't do it. Whether they stick with an old version of PHP forever or switch to something else entirely. If the reason the upgrade path is so difficult is for something that the users don't even perceive as a benefit, it's even more likely to drive them away. Tell me how this benefits: 1) The user that already initializes their variables 2) The user that actually utilizes the fact that you don't have to initialize your variables. I would say it has no benefit to the first person, but, it doesn't hurt them either. It actually hurts the second person. The main benefits I see from this is that it will: 1.) help people that do want to initialize their variables find places where they forgot to do so. There are tons of tools, including most IDEs, which will also do this. 2.) Force new developers to conform to what some people view as a best practice 3.) Allow those that want to make PHP a more strict and less forgiving language to cram that down the throat of all of the users that don't want to see that. > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Chase Peeler chasepeeler@gmail.com --000000000000604f0b05912f2bc6--