Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106768 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75320 invoked from network); 28 Aug 2019 22:08:10 -0000 Received: from unknown (HELO mail-pf1-f178.google.com) (209.85.210.178) by pb1.pair.com with SMTP; 28 Aug 2019 22:08:10 -0000 Received: by mail-pf1-f178.google.com with SMTP id y200so440628pfb.6 for ; Wed, 28 Aug 2019 12:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+8etPWl1L1jcLwwS63/r+ogDOB2Y487h1UzvAUx8arU=; b=TVUaQz3FIyCx4zztoF8MyLwr6fv2JvegEr5XwGrP/H0txiu5gttLYa0LnhkqBb4R7L v1lVczXwbm8A2OW9yYandnhQnB/PGHI2ihJX15CSseubw8dlyZZXrTKrNDm3S50dsp4z 0PrxZ43LhBAbCi56l9C3UA3tvlPP0metSCUUEBuWqUseo66RQP9gTBrTyAqf9MiOeVHh aO+OKZV9UnrveFPs4cBmpZ95Oyyvy8j8Q/Pu9Vai3wmY/uufJiL4nd/sBn4Lg1BUXZ/1 uzQ66OmqymFst2w0rhx7t8J1LkxmmMneoFizikpcwuP2jbVOkCsovSuRFfLY7LaFruhv tZyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=+8etPWl1L1jcLwwS63/r+ogDOB2Y487h1UzvAUx8arU=; b=EiQFQmCciF5xZ/6eP23Crg7GLaYiu1OQpVmtYOJqmxzIj36TxBCKvus8S779ru+DLr 3y4NfBhFM6Y6AI3Cqrnwhw/OIqox+zLu5NXKQhgTy6kfAXr740v6Su2oVllmBEyV+ofQ 7D39XFD8R3T++7xRi+KBdFosw9ap7y43WZY/G9BgcFX0TPkGEmc/GhAcCk73V9q3AXPx uejkb6IIH+ThEaIsUwhOJMaHFJP3mGTLE1rHJcf6R5daS+bso6lIWnj5hfTPwqJS3bnJ AUWTAXQWU40tKbv/dRZcaeKiOYt0qPiN84mZSRuvcaLrRaSm/awEJonMMcGrhXhkwSK4 GgNw== X-Gm-Message-State: APjAAAV/B5Q4H849PRG2Nf4867DL1hjln6fIXamGP1+ezhmMGHwTGrFA +hQMQfm4wRcRR+BMKLsLEiPJjgc7Ew== X-Google-Smtp-Source: APXvYqwqQZaFH+swkTOC9wUb4RFf6ipDWZE5e5R1pEcOd2Efm1DKsuCAWMBNE33W7j90iCJxqIgYkw== X-Received: by 2002:a63:9318:: with SMTP id b24mr4835770pge.31.1567021221702; Wed, 28 Aug 2019 12:40:21 -0700 (PDT) Received: from Stas-Pro-2070.lan (c-76-126-84-88.hsd1.ca.comcast.net. [76.126.84.88]) by smtp.gmail.com with ESMTPSA id b3sm154646pfp.65.2019.08.28.12.40.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 12:40:21 -0700 (PDT) To: Mark Randall , internals@lists.php.net References: <7ddbae5c-7451-4094-8b32-19676128054b@thelounge.net> <5d6699d4.1c69fb81.d34bb.38baSMTPIN_ADDED_MISSING@mx.google.com> Openpgp: preference=signencrypt Autocrypt: addr=smalyshev@gmail.com; prefer-encrypt=mutual; keydata= mQMuBE9mqaARCACFSqcGmNunkjQQu3X+yXnTmFeEkvM4JXZTOBdR8aEevNGmmFEfyvjaDjWi 9hcwp4E/lYtC+P7VsVjM1OSX9eq0jC/lGL0ZyRXek+mNy0n5H1NSuTpf9Y18LMqhc4G+RU+L cNiZ9K0DJuOOvNLPxW7OHZguxb3wdKPXNVa2jyRfJAKm2uaJJMT1mTmFT9a0Q8SKr+mUrrJk uG0H2o6SzrKt8Wwoint1eh67zVsJaJtQFchnEZnlawIcqP2yC4nLGR3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BY/7ApoLq4mwqzbh +CpLXwNn20tFNvSXfb8RdeXvVEb7Scx+W9qYpiaun2iXJgCVH8fgpZpR856ulT1q6uCG++CX ubEvip/eJkZl93/84h04KQJwsgOrAh0Om3OePRn8Pr+++0LNS0EL8uX/YHeTOGOnnmTqYTey SBVFdov6L4mepddfjekicKQqhL7mZh/xuq29JijT0uNNX8v4vDWQDu5dlAcdd+uB3gcXMD/P ginD11zp+6wtrWCm/+yBqpvDwXQX5PGUnwvbRfl7Ay3MmwmoXiecZMg0dwTSc7e0lhB4HGRH ZdBMJB4rHUVGdzqujK/ctOvrAAMFB/0Utb76Qe6sCMlHxVAmeE/fbo7Pi05btZ/x01r67dHf aMSP0riCKJ7M0OW+jAXtu9+z/BVnYisW67WWfxl2cS5tZDgiHgJARXWUOO72+sScHP8KQmTl 1z16gyKbwY3SmyBkwcpOL35nhUWNLy93syPoY6sZUTikr2bZYukHDQ33XBPs4e6MbWKfsa9q aVmnlOF3k5UqChjutfHaEa4Q7VP4wBIpphHBi9MI16oJIzzBPbGl2uoedjwiZ6QeQZnSuOVY ZxU2d3lRA8PrtfFN1VSlpEm/VcAvtieHUYWHN0wOu+cp3Slr5XJVNjTjJhl28SlinMME54mK AGf2Ldr/dRwXiGEEGBEIAAkFAk9mqaACGwwACgkQL3lWvF2gS126EQD/VVd3FgjLKglClRQP zdfU847tqDK4zJjbmRv5vLLwoE0A+wbrQs7jVGU3NrS0AIl5vUmewpp2BKzSkepy23nWmejw Message-ID: <50294fa5-cb73-7096-0929-9d38bcd15199@gmail.com> Date: Wed, 28 Aug 2019 12:40:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <5d6699d4.1c69fb81.d34bb.38baSMTPIN_ADDED_MISSING@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Reclassifying engine warnings From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Don't build your business on a foundation of eggshells and then complain > when something comes along that makes those eggshells crumble. I think PHP has historically been much less "bondage and discipline" language, strictly enforcing a particular programming paradigm, than others (e.g. Java). I consider it a good thing. Scratch that, I consider it an excellent thing, responsible for the significant part of why PHP became so popular. I understand that some people like PHP to be much more B&D and enforce strictly whatever they consider (often entirely justified) the right way to do things. I don't think it's a place of a generic language to do that. We have IDEs, we have analyzers, we have other tools that allow to enforce things. For example, I don't think I had a "variable name typo" error in live code for years - because IDEs and tests catch those early. Do I need language to help me with that? Not really, I'm covered already. Do I want the language become more rigid and my quick-n-dirty PHP code snippets that I write almost every day become harder to write because I need to jump over the hoops that eventually will help "foundation of my business" built on that screen scraping script I've whipped up on a lunch break? Not at the least. Now, I recognize it's a valid position to want more strictness, especially if most of the code you deal with is "foundation of your business" type. I would just like to remind it's not the only position and that there's good in PHP being not as strict as, say, Java (I am not saying this proposal would make it that, but it's certainly looks like a step in that direction). -- Stas Malyshev smalyshev@gmail.com