Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122354 Return-Path: <6562680@gmail.com> Delivered-To: mailing list internals@lists.php.net Received: (qmail 23914 invoked from network); 9 Feb 2024 15:18:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Feb 2024 15:18:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707491983; bh=fdYYsBLprRVMSsn1lETQUJK2ii+yesUkjZHl/Nb3Atc=; h=References:In-Reply-To:From:Date:Subject:To:From; b=AxBVAzqZRocqPIUvj+fmRZYSD60n04KfEVELVuJNGaRP6eemj8+gwGcu6jAx1V9+t CLckgjJWOzXCaifk8JofyuQVtoRfTuSR1V447nF1gEP7AqPlukxLdlGQfMEu8Grz3S TbBnkoP4EP5vhqqzSEtKTbzIJXqIdPFHt+tI5hRrWBwQ9ZX3xbTf70okWjU3FcVn0N t4t6lx9RwwWE2B0V0HEYdIi6sdGKP0ey3BJvntfEqfbGqfWUVAHNkwpHAWqI1QTMjb BH01iC8/NmCKEnR2WpCH8k5MeU/LU+bb5xtayFvCnh7FwSV7ZoHOXUiUj4JjmJ99An elQ+vnknoz0sw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4188E180039 for ; Fri, 9 Feb 2024 07:19:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: <6562680@gmail.com> Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 9 Feb 2024 07:19:42 -0800 (PST) Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-214dbe25f8aso491832fac.3 for ; Fri, 09 Feb 2024 07:18:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707491928; x=1708096728; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=fdYYsBLprRVMSsn1lETQUJK2ii+yesUkjZHl/Nb3Atc=; b=VTH6DfFi+3EaaFAx4qYFJ3DRHt9dF6zvPdvxSpWnaXS4iz4bdLP2h3izVwx9K9m9uQ xxZP1IxeM0Z1plIfXOc92vagdH58nVSPSxqVA62cGvgwcPYKigv2cEm7LHTWCP/85AZY QKAndFeP23yxcmu0W4LCF57xwNedXRO6Q6mfJ6eYhQa9msc3hzR6EzHeKbrFlfVcw5g1 B2/5iXJHIBwnrwt6LJBUbLrno2ZbS8WQ0+m+D7ro0n0Tuu4ci462diBEEgWX70aBT++o 27AeD1LY33D65HHzc9HCndeKYWFR/0Z7DE3T2i96d/AuvVOh1sGYFLLxcG34JF+v0XbD FoNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707491928; x=1708096728; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fdYYsBLprRVMSsn1lETQUJK2ii+yesUkjZHl/Nb3Atc=; b=E4+/QVi2a33EMKgdgObQYoP9iAd1rS8zPHmFzoL3KsOUcTWDP9/3ZGxDQ50uqRtWAx l6AzOTzCvGZwKaZ9RVlByZeBLpCCR58TEBx4fiZLM8swydEy8DlquGOBmxMH/EotkIN+ zoAPztj4GxY/hVaFqNmPlsLlrmv774/YiI5TH5lCIwPC9lMvgIZVVQtJuyOGH/swOysT 296b7DE0cziVWRCTNzGR6GsX7Eq/8205Y/feYkTHxmSx1X9KbEiumASu5QZ5OMe4LS3O pNrMoAcBxK+GQffG8U6h0Fv1911dR2HrW2C1gTOMgqPebiiHEJKzkJdsxXEFWsHv8Sko 726w== X-Forwarded-Encrypted: i=1; AJvYcCWCWFzhi2WoR5kf1F3wK8y/UT9/rHEWU2YquVa5HMbn4og3dpxe5BzCtPMS0C9mIDIIFZTbx6sN3C2nYEyg7hkT1F/QhcJT2Q== X-Gm-Message-State: AOJu0YxBspPrjHpISpbmff3kdMKMoyUciOMNiiovRr2DGhnhgwjWICep LAqdO9bJlN/gdxJ/SwA9p2J9LnDIaW92ku0VEb1hN2y0PJu5X1f+wGl5fDq2wXpERhX7ii+BYEh B53doWpy3xatsSC1cXTM+FevVABQ= X-Google-Smtp-Source: AGHT+IFvtIjK8TtcWBgnKtxAoyLCAap3RUiaoRVErNMnJplvNtQotVHBIsb7nH2Ky2PHjrkxqGKTGuniwHYS+ekTUpQ= X-Received: by 2002:a05:6870:ac10:b0:219:3d17:63a5 with SMTP id kw16-20020a056870ac1000b002193d1763a5mr2093849oab.13.1707491928148; Fri, 09 Feb 2024 07:18:48 -0800 (PST) MIME-Version: 1.0 References: <742f202d-7990-4f51-b903-7a15e3fd33c2@app.fastmail.com> <1cd8fa7b-ab62-4563-bf13-bb7801f1ce8d@app.fastmail.com> <90cc47f7-ba80-4798-8447-2f3bb5734eab@app.fastmail.com> In-Reply-To: =?UTF-8?B?Yg==?= <6562680@gmail.com> Date: Fri, 9 Feb 2024 18:18:12 +0300 Message-ID: To: Robert Landers , internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000d594a00610f4717f" Subject: Re: [PHP-DEV] Feature request: https://github.com/php/php-src/issues/13301 From: 6562680@gmail.com (=?UTF-8?B?0JPRgNC40LPQvtGA0LjQuSBTZW5pb3IgUEhQIC8g0KDQsNC30YDQsNCx0L7RgtGH0LjQuiBXZQ==?==?UTF-8?B?Yg==?=) --000000000000d594a00610f4717f Content-Type: text/plain; charset="UTF-8" > I've worked on PHP (and non-PHP) applications with (tens of) millions of lines of code Grats, you're a hero. Now, you're a hero. You can solve the application in your paper notebook. That does not explain why computers should know some correctness and not help you, because you're a hero. I now have the legacy of webinars. There's no webinar archives, only runtime config, blueprints, there's user forms that are only processed in batches by queue, there's 3 levels of nesting in webinars. And there's existing code with wordpress repeaters and such stuff that is working somehow. So my current task is to multiply non-existing webinars to non-existing form submissions and multiply that to wordpress and 3 levels of webinar nesting, and get a solution in a maximum of one week. Suggested solution - "we know the correctness, so you have to tell your manager - you need to completely rewrite existing logic with 10000 small methods with exceptions, then catch it everywhere, then write tests, and then debug it at runtime" for the future. That strategy followed by firing out or leaving. It should be fixed in the shortest possible way without rewriting your code. And, it should work fast using massive select/insert to reduce page loading time. If I started to split that 100 repeating fields into simple SOLID methods - it would take a month. I haven't a month, and nobody can give me a new job. So I MUST use non-breaking errors to do it faster. And the community doesn't want to implement handy solutions because they are tired of simple things (because they guess that simple things are always small instead of being plain scripts). Best! Just not enough good words. Thanks for attention. --000000000000d594a00610f4717f--