Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111233 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19616 invoked from network); 28 Jul 2020 20:57:02 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jul 2020 20:57:02 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 457B2180532 for ; Tue, 28 Jul 2020 12:53:00 -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.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,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-Virus: No X-Envelope-From: Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) (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 ; Tue, 28 Jul 2020 12:52:59 -0700 (PDT) Received: by mail-io1-f47.google.com with SMTP id v6so6830399iow.11 for ; Tue, 28 Jul 2020 12:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joeferguson-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2Mzgx46shJsuYP8LiZtuLhkBJf620l3JyLbU4fyQymI=; b=lqu8I0QxsKnsLR47RBkMPOkZ+9lVP5KUZ+ChiIL/VWKfewoL8Cwv0QpsXLxVRYAmkD 50b4G+KL2s2FzEL2eKLbFiMmowMerb68ZFipjmkqo6WddCg5QaAzzhnRuZ5vnb5BcIBu L3qIhdH6RKM7LNZDCpuyAfdXvDPuGefLP1D1G7f5jTooeQ074kR0tQmmZfYdfnyCrmc4 ZuXbHS26yCFvfag89fpLxuF4ShT3Ew/p8TeuJbV5Moak6z1hdsXS+roY06heYalgd/00 fRp4VywGNXvy63r16Ugo3rV1k5qTEaWzivbUgsGlrt8nrFT4M9xIOjn+C44wKIEGmmyj AW0g== 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; bh=2Mzgx46shJsuYP8LiZtuLhkBJf620l3JyLbU4fyQymI=; b=BjR6XOJkDHOd+bjNsGNwZuREsSKN0M9pvoMmtzgUwkLeRm1nXIs+6pRRx/6ChB+hi7 aXidK7SYrjFKSmdwPn1SAOjQM5kE62rGaF3p1giZ/CAwcGFQcNrCRkLBB6IkF1ZImTPf +uQc8WrC2xoKjLy6qDkaJabtJdXGptFoknKRtYt3a1CDuqJNUop+i0JTeQpoS6/ghxA1 Y2Z65bolDkJ75SQazUWI+8q8A8JtHSWRqdNtaOz6xZDqg24Z3k++7l6q01DGbBwht70f FmYSjA5QnKf3ynJ1HTFxGd3ZyU11L00xfXElDmHShpgzJKz8mp5mEmrg9AWfjXEunQH2 46wQ== X-Gm-Message-State: AOAM533UlDA4G7Yyc1rwuIanCd2syefUpfMp7xVAJ71yEdGu+Sf6bewe 4HsjpK5KmERb1uBqg40C8ua/BHWFF3g6ASboTfLTRG2tjRuIDw== X-Google-Smtp-Source: ABdhPJzIDKl/uSQAE1yW2nqMylCFEEIyeuZV+IEx3CcgaMdsat5tVmsHwklIOOA2AogV0JkpzvCgTReJNSaS+iZu9UQ= X-Received: by 2002:a05:6638:24cf:: with SMTP id y15mr27845278jat.137.1595965976991; Tue, 28 Jul 2020 12:52:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 28 Jul 2020 14:52:20 -0500 Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="00000000000021f15205ab85c912" Subject: Re: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change From: joe@joeferguson.me (Joe Ferguson) --00000000000021f15205ab85c912 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 28, 2020 at 12:57 PM Theodore Brown wrote: > > Hi Joe, > > From the perspective of looks alone I don't care much one way or the > other between @@ and #[]. However, I don't find the arguments for #[] > in this RFC very compelling, and it ignores some of the other downsides > of #[] compared to @@ that should be highlighted. Let's go through the > arguments from the RFC: > Theodore, thanks for your comments, time, and work on the Shorter Attribute Syntax RFC. I appreciate your feedback and I'm also of the mind where I don't care based on looks alone. The RFC also notes the @@ issues have been resolved by the RFC closing at the end of the month. My motivation for this RFC is based on 2 things: Firstly, the @@ syntax makes parsing harder (although not impossible) on CLI tools such as PHPCS. Therefore IMHO internals should make the best effort to avoid this when possible. Secondly, I'd like to see internals use this as a point in the future to avoid this kind of issue where we need to vote on something yet again instead of taking the runner up in a ranked-choice vote. Originally this was my main motivation until I saw the issues raised by the PHPCS users. I don't want this to become an issue of "keep voting until we get the vote we like" as Paul mentioned. This RFC is my attempt to set a precedent where internals allows itself to be some measurement more autonomous than it currently is today. And also to try to make the 8.0 upgrade process a bit friendlier to our fiends writing userland code. https://wiki.php.net/rfc/shorter_attribute_syntax -- - Joe Ferguson JoeFerguson.me osmihelp.org --00000000000021f15205ab85c912--