Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110754 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21032 invoked from network); 28 Jun 2020 00:15:15 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jun 2020 00:15:15 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 45F731804C8 for ; Sat, 27 Jun 2020 16:03:33 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS 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-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 ; Sat, 27 Jun 2020 16:03:32 -0700 (PDT) Received: by mail-pl1-f170.google.com with SMTP id x11so5629914plo.7 for ; Sat, 27 Jun 2020 16:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=51CalwuWHRKV9Cr9ngtCdkNzyWWswXQOCQZpEZ8MLUE=; b=EkCWVS/wptbZwTtP6S+a2gNK0F6+JE2VyGxIKhrvgBlTU+5XtI9pIWdt3CEUC5H2z4 XopnEW72/Xcz62q9lWSoDgTL0x1JyGxyy4UFQVfXgquJIe0H6IEx+11QXbfQec6jEA3/ eZNjwmfVqYOIfm8BCeB+a0KPbpMrE5Qsg53uZe3TvHBwey03mKVD8PVVcLFPwJFfR/ZU dTuoaQJMflPIz5w3Tz8aFn9yf9GgYMlvn3YU51tztMUS8cYxA5IeFgyip6+LaBuCkSc6 XNT2FzZy1FEBButCYbaqVy5BCu4MG01vizwcziEPRd3x+dzI9fb6otTzVUaqs3jV19up Ru1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=51CalwuWHRKV9Cr9ngtCdkNzyWWswXQOCQZpEZ8MLUE=; b=do2jGx0MD0eK7/RoLJvDYDuUUo7pyPSeaMZq2iOQHawYJcjHUQw4Hwih6Sah+Ci7n2 6KA5gedxi1/ZPH4Xa/LQdnegYPvi0IDGAsouCB/5R0b9aM9rtDEe0eGoex++XFOkscxQ NfFScT3xe55ZGRYNbI5sUolj8qT9fK1L9X9lTN7ChwcJVmTnnJdXOG55mTpS4zCQDREb 3v4dWMbN8o/xK/NvfkzXYUVn84HuH7DgGBspYPTRurECvp244rQKfv1mWMFF0FGdZ1tv w0vibAsuPo1T5i8lAzldgRtA8gHEa1k8FaBqFjKg4EXSqWbivILbskHfUfpsAW/ZDb7k 2tVA== X-Gm-Message-State: AOAM531U83vIg64qZtKAKDJ5w/R3UJ2GqcUro/Snw7ys57pBbQO0VL4O KUio/ba5wfXk4+OMbRuf2cCL8g+HBQ== X-Google-Smtp-Source: ABdhPJyzDoQCpAfELxwwp3CTBtowdq/YJEd+Yq22OYcwxn5IrUsI1MBWbvHmPP58bwM+QpPSVYcdpQ== X-Received: by 2002:a17:90a:de05:: with SMTP id m5mr9831278pjv.150.1593299009309; Sat, 27 Jun 2020 16:03:29 -0700 (PDT) Received: from Stas-Mac-3.local (ec2-34-209-88-149.us-west-2.compute.amazonaws.com. [34.209.88.149]) by smtp.gmail.com with ESMTPSA id d5sm14641056pjo.20.2020.06.27.16.03.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Jun 2020 16:03:28 -0700 (PDT) To: "G. P. B." Cc: PHP internals References: <5ef7505d.1c69fb81.a3d3d.67e7SMTPIN_ADDED_MISSING@mx.google.com> Message-ID: <2375cffc-5526-79e8-4fb0-6fbcbc4646a7@gmail.com> Date: Sat, 27 Jun 2020 16:03:27 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV][RFC][VOTE] Rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Better error messages are obviously better than just replacing the name of > the token, however this argument is saying that because this isn't perfect > let's do nothing. I don't think this is the argument. I think the argument is rather than half-fix the problem wrong way, let's fully fix it the right way. > I find it highly frustrating, and borderline offensive, that we are being > asked to go from a simple, non BC breaking, easy to enact change, to a > semi-major overhaul of how error messages should look like. I personally I am not sure why is this "offensive" to you. Is there something in overhauling error messages that goes against your principles or religious beliefs? Sometimes overhauling is exactly what is the right way to go, and not showing internal parser tokens seems to be quite reasonable idea. If this idea is somehow "offensive" to you, I feel sorry for you but it's not a reason to abandon this idea. It is also quite a common things - many proposals in PHP have been rejected because the community thought it's not the right way to approach things, I myself have had some proposals rejected because of this. There's no reason to feel offended by that. > My perception is that most of the community finds it baffling why anyone > would be against this change. My perception is that most of the community couldn't care less for how the tokens are named, and really shouldn't. It's an internal thing and should stay this way. If they made to care, that's our fault and we should fix it. -- Stas Malyshev smalyshev@gmail.com