Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122345 Return-Path: <6562680@gmail.com> Delivered-To: mailing list internals@lists.php.net Received: (qmail 45037 invoked from network); 8 Feb 2024 11:16:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Feb 2024 11:16:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707391040; bh=mFH+pX94gbV5DLUzOg+vPKxm6ngwWIshjZqbpmez2Uo=; h=References:In-Reply-To:From:Date:Subject:To:From; b=kqpmvBMotdfmf/nLOf9jJ1gfVp38XpIKl8RRqFynjrUsz0sBwgbcVOEXiM1S3NGn+ oK+MUVpQo2sFmkLTVWpu7ombrIaVW5idbydr1+VRqlyBnIWvpA3ujj/RNnooG1y/KH FxaBN4WceuLwoo3xCn2TeTSIC5pAHMnXFJ6k09ygW8lR0I30hMHXrcDd3KjGUToOcU SkCA4EKFk/9BVKdVST8Jk6cVHHzmDknH+V6e7haUpUNyeDcA0OLwEL7I1Fmxhftdin pcQ93xNhmgCCEsSo7pu5DXQt/WB7qCh5FgyHVk43vD2+D2mHgl1OGHO/YKuuPJYHWN tFySk2zu+ortw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 97E87180039 for ; Thu, 8 Feb 2024 03:17:19 -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-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (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 ; Thu, 8 Feb 2024 03:17:19 -0800 (PST) Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-59502aa878aso613833eaf.1 for ; Thu, 08 Feb 2024 03:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707390985; x=1707995785; 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=mFH+pX94gbV5DLUzOg+vPKxm6ngwWIshjZqbpmez2Uo=; b=HOU8iL7k5+vYTKhjynOgiihIv4axpRbFry4oZ7HZf3kv4fDLkmEaCkYx9mPWv61Cqk 3v1mh9nLQMy3PLEX9xCAZDCy3rTs5+28PD41VcQNBEfZKr+6j34f3QtgTcBHUYxU3jnB XJVi8qtpgUHbrsubcQljFIjOZV7Scu0FBhhqJxjc+rq9f6MsfE4lZqRU8WZ6x/CROTx0 pS2ZXMCPHe36xWTRur12Hfx3G2TD03Dkm6VKdGqWkAa/pDM6qyadqfov8ine1eA7g+92 ccH7LplL3PrkcLtjAfeOaEmIvlS0aSYQLJuQ+vvVY0/S+XbOPQQgdCSdF28EQkktuyW7 vhrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707390985; x=1707995785; 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=mFH+pX94gbV5DLUzOg+vPKxm6ngwWIshjZqbpmez2Uo=; b=ikr5iqfuGGCkJsABsMmF6ulEPKiIMCRIveKpyMHp5vTkOcSKR/phhNxVkfYMTldRv2 2Sui73r9lqZa68XqDajDMKT7IoaZCQecuHOxeP2OZaY1lWZ8qkfq3IhcEx9qO7y3C591 AbXrDsUoxX4c+zrlwLH2tyiw3el4JvyxTolqeDy+EWAJ+W+F8BTEM4is0nitegz7D7OW qkuRTkgmkjo7sgjhaSXrnMyWuxMdKCBCCqDIcNxJ50BSOf0poT6ac7vWEBsxsG8bXvUS 0H3hLFJ+p9VROIbGLDDf5xPTyGAqj2kVNmVV8xgKSrYqW99/Vrib0XlBk9CyzCate0c1 CueQ== X-Gm-Message-State: AOJu0YwMcLARD53vaj+/VJhiKNAB8ovnfLmN6tbhWBMgGozg7BGAidv6 bry3k0BQooFo5fRELYbh/ketL1LAwpOIHR855Kn8CuvHmWNmRU8W6BB92pT80Lk50FMtfh1/7Mk zw6nExlWvViEZtxRYfBjzv3vWVXY= X-Google-Smtp-Source: AGHT+IGkfdACIlN65wzhSlHjtSMB5vt3l41oxkXzvcutmnXuR8uEcqFRviCpSqv/PszOhnrF1VYPKqlzgxtvuaQUszo= X-Received: by 2002:a4a:ea28:0:b0:599:f526:29e5 with SMTP id y8-20020a4aea28000000b00599f52629e5mr8326833ood.2.1707390985311; Thu, 08 Feb 2024 03:16:25 -0800 (PST) MIME-Version: 1.0 References: <742f202d-7990-4f51-b903-7a15e3fd33c2@app.fastmail.com> <1cd8fa7b-ab62-4563-bf13-bb7801f1ce8d@app.fastmail.com> In-Reply-To: =?UTF-8?B?Yg==?= <6562680@gmail.com> Date: Thu, 8 Feb 2024 14:15:48 +0300 Message-ID: To: Alexander Pravdin , internals@lists.php.net, Arvids Godjuks Content-Type: multipart/alternative; boundary="0000000000002c1e0c0610dcf157" 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==?=) --0000000000002c1e0c0610dcf157 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just because PHPStan is a ready solution for design errors that you can predict. My case is about errors that you detect later, after the design is finished, PHPStan shows you that "all done!". Because it's not \LogicExceptions (types, mappings), it's all \RuntimeExceptions... You have to implement it after the design is done! Also writing code comments for PHPStan accidentally increases time of catching \LogicExceptions that will be autocatched once an exception happens and is reported. This is necessary work, but it increases the estimate; the business does not want to hear long deadlines, and considers you ineffective. But if you say too small, the code will not even pass PHPStan, it will not even pass visual inspection. Therefore, I say some magical things, and then I correct them, for some reason they like this approach better, they are not used to improving until everything works properly, they even push the word into the lexicon - MVP. This means =E2=80= =9Cit doesn=E2=80=99t work well but it works=E2=80=9D, it seems normal to them in= order to get results faster. Because they will receive bonuses for results, but for bad results you will receive punishment. A closer solution is "get out from the job where business was built that way to ignore complainings". I had worked for 12 years. I've changed a lot of jobs because of that. And any new job is the same. It could be more or less ready to build the same, but they are working on it. It's not a solution either. As a result - "you cant rebuild non-yours successful business that gives you money because you know how things work", you have to fix or lose your rent home. =3D=3D=3D @Arvids Godjuks I had to work in such companies, and there were 13 projects at the moment. But after some time I realized that nothing depends on the number of projects. All businesses strive to not give away the right to think to their employees. If this happened, it was more an accident than a goal. If they are forced to listen to you, you are considered a problem that they do not yet know how to solve. Now my company has only one project, which they are leading themselves. But business and profit dictate the conditions - at first we do a year very quickly, then we redo it for 3 months, which we will have time, but the amount of legacy is too large, because the pace is insane, and the tasks are becoming more and more difficult. They can't just "wait quietly until you finish." They will ask you when, and will be disappointed if you suddenly suddenly realized that you need to move the deadlines, because there are already 5 new ones behind the current task and they are planned for the quarter. =E2=80=9CRewrite better=E2=80=9D= is not included in them. Let's stop discussing my personality, I gave a rationale for why languages should preferably help developers, since such a question arose. Because there won=E2=80=99t be fewer situations like mine, but there will be more j= obs. And there will be a lot more bad companies, and in the end there will be very bad ones left. --0000000000002c1e0c0610dcf157--