Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116532 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97193 invoked from network); 26 Nov 2021 15:49:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Nov 2021 15:49:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 94ADB1804B5 for ; Fri, 26 Nov 2021 08:47:07 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.0 required=5.0 tests=BAYES_50, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 26 Nov 2021 08:47:06 -0800 (PST) Received: by mail-lj1-f178.google.com with SMTP id 13so19808125ljj.11 for ; Fri, 26 Nov 2021 08:47:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vNKRmf7x4C0EGkrpEqxjbRfJNe6xL8euoMDcz5VknKQ=; b=x0xckSA0TWoa4UsSdVxAhjjbQ4ew7bma6zzU3iYVBqcyrm8qPcWLO468SGNXgTSQaW Up18Z1L/yPHxfrQelglt1pfxeTg7nRfBJdsHtF/Zh/ZI8FWQkgt5Tio3LvYp/3ojwn9C ftNZjgIBQYCpdQuDE+RHvUhIVWOm4PbfL1WErNkQs685jw3YQsTfPJI4azscQ42ddH8I txFklJ+BDqIufvWDvyBNOxvGkzxKHwDAhVYDHiZnO2OmEF2Eemr/iyicrJHdUxZg3E0E ySsNVuCNW1dBkdtlgYpMdxr9nvkTmRNHCRKkZkAzf7wiaUs9HdofHmCkDSiC726vmc/X Y6jw== X-Gm-Message-State: AOAM531fWWkgvtCAWXbg/V5xXo7b20sZZcPh0mjmKDe8XsmRuiecjiPs DCzoCt2ze5dmVwDP3X1uDzkIloDguG1gJqlyja+95A== X-Google-Smtp-Source: ABdhPJzSX5TLXWGtafjOuGmoTqR3rKkIgyxJ7wZwxXzKhYRE2LDrEV1WGL/Q/hEMBhAtooDAOE1LGu511T166kuiG3g= X-Received: by 2002:a2e:781a:: with SMTP id t26mr32340972ljc.90.1637945225152; Fri, 26 Nov 2021 08:47:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 26 Nov 2021 10:46:54 -0600 Message-ID: To: Brady Wetherington Cc: Dan Ackroyd , Kamil Tekiela , PHP internals Content-Type: multipart/alternative; boundary="0000000000004ea09205d1b3d712" Subject: Re: [PHP-DEV] Re: [VOTE] Deprecate dynamic properties From: pollita@php.net (Sara Golemon) --0000000000004ea09205d1b3d712 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 26, 2021 at 12:16 AM Brady Wetherington via internals < internals@lists.php.net> wrote: > > > That's 1.5 million hours, which is 171 developer-years. > > > > If we're going to imagine numbers; there are 6 million PHP developers > > in the world*. If on average they each lose just 1 hour per year by > > making typos and accidentally creating a properties dynamically, > > that's 6 million hours, or 684.93 years! > > > > So the value delivered by this change would be 4 times the cost just > > in the first year. And then every year after that it's pure benefit. > > The point of this counter-argument which may have gotten lost in the snark is that nobody has done the legwork to know definitively what the impact of this will be. You're both making up numbers, and this is part of the reason the deprecation warnings exist, so that concerned product developers with a stake in making sure these sorts of things go smoothly have time to test such changes out on your own codebases. It's been merged to master, so you could stand up a build now and point to the many deprecation warnings you're expecting. I'm not saying send PRs to fix them all, just show real impact rather than theoretical guessing. If it's as bad as you fear, maybe we run another RFC to remove the change before it ever sees the light of day and you become a super hero. Call you Uber Brady. Or maybe not a single deprecation warning shows up. Or just a couple that are easily fixed. Let's make PHP better, together. -Sara --0000000000004ea09205d1b3d712--