Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110467 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 81695 invoked from network); 10 Jun 2020 19:05:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Jun 2020 19:05:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 200A7180550 for ; Wed, 10 Jun 2020 10:49:16 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) (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 ; Wed, 10 Jun 2020 10:49:15 -0700 (PDT) Received: by mail-vs1-f53.google.com with SMTP id u17so1777413vsu.7 for ; Wed, 10 Jun 2020 10:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cenVANVDETwUiDPmuUuAPtA/uv5Y+29Jl0lEYTUsE6U=; b=hm1i/q4h5m4VGh3V0TONtaznDG56qed5XI3hVN+dZiocaSYp+ypaogfRXyA89j9mgZ QM9jSp1n+iPQ/OqUrTZqKBwGlxy7nRpmv7ZXTHDAw6daH8zKUW+E057Xz5Dmto5q7vjh 4CDg0l1BON6eQKWRLRFeEH4t+oC5ivWrLu7l4vOHFT6PvF2QNftvK18bSAxYW7JExrvu q6r322ETB05E+TmCUSRvDacGuT3y2M5gV62yg0Mb6Nl/XoPu1q2X7BGT01M0+BLrkmAG SyF8OMDkek+YoBoow1QaWOVZL0HId0hkXfSr/8Lot4PoPc6dTygzP2Bsbl4o3w1DToA+ eDvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cenVANVDETwUiDPmuUuAPtA/uv5Y+29Jl0lEYTUsE6U=; b=qw8iipS0XErwPfH0uHTKb2TERSxDSdbGgT7iVlj6nmChz8749XsqnWD6w1aP4ep7b0 kxCrcxiC8h6Dse9Rm0jJbgKl5skJxfH+Mtp0CFo4VT5MyrnmxY6KTDYENNENPZQlm5C7 MOYRNsBmJ16AP7AW5pgxEptIo3lPYUDBgyzNB2TLbHqLLfF73SnBl0g2PiC2gCetOaDK qc+SYHDsReiJIFhlIdNmfM+6WnVO6q3qIHsYE3MSSbiIQMFs+uvO7KJfZmcVm2q6ECee JlM99NLHZ9ZvBmNVHV0feuSsR/JJOtgAx8QprLCR48SOZLKQ0tRQleQAmh//74tsY/bK niUw== X-Gm-Message-State: AOAM533PquIxECWuH4mVehQRPD3jXcAIi7w1ljFe01vnf5K9Ys4bHpM6 pRI7EybPzVJeA0lYk0ekP1xdoBX+K6QuE4spc2g= X-Google-Smtp-Source: ABdhPJwjqYYj3fivVbU++v8285PFtt+1WJoobOFDYKYfY51jS1PobkBu3CiWvFS621Lp5Q84z4AwlJnUpQRscTBhpek= X-Received: by 2002:a67:e10d:: with SMTP id d13mr3660666vsl.27.1591811352983; Wed, 10 Jun 2020 10:49:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 10 Jun 2020 13:49:01 -0400 Message-ID: To: Ryan Jentzsch Cc: "G. P. B." , PHP internals , Kalle Sommer Nielsen Content-Type: multipart/alternative; boundary="0000000000003e802605a7be7651" Subject: Re: [PHP-DEV][RFC] Rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON From: chasepeeler@gmail.com (Chase Peeler) --0000000000003e802605a7be7651 Content-Type: text/plain; charset="UTF-8" Encountering T_PAAMAYIM_NEKUDOTAYIM is a right of passage in the PHP world. I had to deal with it, so should everyone else. :-P While it'll be bittersweet to see it go, I definitely think this would be a wise update. On Wed, Jun 10, 2020 at 12:58 PM Ryan Jentzsch wrote: > With over 25+ years of software development experience it was In 2016 I was > introduced to the world of PHP development. > One day I came across the most unusual of error messages > "T_PAAMAYIM_NEKUDOTAYIM" What the hell is this?!? > That I needed to waste my time to Google this is simply insane. At the time > I thought to myself that PHP deserved some of the hate. Then I came across > this gem: https://phil.tech/2013/t-paamayim-nekudotayim-v-sanity/ > Please for the sake of logic and sanity replace this nonsense with > T_DOUBLE_COLON > > On Wed, Jun 10, 2020, 9:14 AM G. P. B. wrote: > > > Greetings PHP internals, > > > > Kalle Sommer Nielsen and myself are proposing to rename the > > T_PAAMAYIM_NEKUDOTAYIM > > token into the already existing T_DOUBLE_COLON alias, > > T_PAAMAYIM_NEKUDOTAYIM would then become an alias to T_DOUBLE_COLON. > > > > The RFC is located here: > > https://wiki.php.net/rfc/rename-double-colon-token > > > > Although this token is a nod to the valuable contributions made by the > > Isrealie community we believe this token is rather confusing for > newcomers. > > Moreso, as PHP is for many people their first programming language, > > they may not have some of the habits like googling errors when > > they are stuck, which leads to a frustrating experience. > > > > As we believe PHP still has many years of existence we think it is time > > to rename this token. > > > > This is backwards compatible with PHP 7 and 5. > > This RFC does not lay out a plan for deprecating T_PAAMAYIM_NEKUDOTAYIM > > and leaves this as a future scope. > > > > As the matter on hand is a relatively straight forward yes/no vote we > > expect > > it to be held after the minimum 2 week discussion period. > > > > Best regards > > > > George Peter Banyard > > > -- Chase Peeler chasepeeler@gmail.com --0000000000003e802605a7be7651--