Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111559 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 49073 invoked from network); 16 Aug 2020 16:29:53 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Aug 2020 16:29:53 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B91701804AA for ; Sun, 16 Aug 2020 08:30:34 -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,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-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 ; Sun, 16 Aug 2020 08:30:34 -0700 (PDT) Received: by mail-wr1-f50.google.com with SMTP id f7so12508124wrw.1 for ; Sun, 16 Aug 2020 08:30:34 -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=t48o4qc/mFBGMIqqKUCgRZ4LIoLjiH1trtbisXODGbg=; b=bTVhxkRDFuNyjOki8xSwvMv9YSA/gJqfVet1BKETDS/BjSHd2nYeftnFVVOW3zEHkx QF7QXnLgdVn241EJX/xRAKE/3plQFcH1c6wS1TiuFu8lGKRKQ38xKhtmvVBkjSPJd8mP 7n1wBhDE9IhmK+Pp639K0OUFuX3RX/Da9ASVMmFwj6y7uL9DpZGrl0l09/sip7RYWBOq DN/AsTPUW4LYVU9lAVbqi11GbRJo/+1sYjq7gHAYWSIknBGhchlI8r0zUGfCxljlKsVO obeUGqyAhHRRvM/7Pk57nwP9cYZkuFbtBtXEiyakIQtB36xfuDyZgDh5LGBFBIzPhI2s 6Ouw== 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=t48o4qc/mFBGMIqqKUCgRZ4LIoLjiH1trtbisXODGbg=; b=Zhd9QfHUv1Ozuzk+Gv+3ff7SSiBNtz7sFlCaMQyJ+L7+FPwEmio2J+hegqYvL3SZnk Q1jX5EOkOEV5PqBZQRwSV8G/pXKJPdqPrWDmwa/Yg0aRfJ95wzG4hM/Wi57v4rpomn+E 0w2MpnALm+MMEGgBF0tP/DKP6WCSpQ+55jIZkPi6KfaSILgY6YiAl7799dYG84WDiJnE W+/r4gpHj9YnlrcGbSUd33+i3F+u403flBT1xpKxCJHX7rW8utzp6EY8xllHRg7xYjqF GkonEnvRseE902pvEKZi7c4PtiyelXJ6ydhfPD6RniWrPhVCiFzmbZIjH+zWS6FAGYas rgkA== X-Gm-Message-State: AOAM5320etNN6QRvwP/O7Y9g+UNEas/eMySOrLjjJ9zlrWV/3+wyxeUg UhdvYfDO+/3fi5sypDnk7Hp6PwVgkVQYoyoxJIU= X-Google-Smtp-Source: ABdhPJz1QmLgQ0dCxgkV0Lvo4pMCGRflJTFuTF/bCJyE0edhvFmO3qFzI8cQVOiEEKSQDC/UeDc3MM1f3Jr8ceHQOQg= X-Received: by 2002:adf:8282:: with SMTP id 2mr10961560wrc.76.1597591831902; Sun, 16 Aug 2020 08:30:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 16 Aug 2020 17:30:19 +0200 Message-ID: To: Benjamin Eberlei Cc: Derick Rethans , PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000a2ff4605ad005554" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Marcin_Brzuchalski?=) --000000000000a2ff4605ad005554 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Benjamin, niedz., 16 sie 2020, 11:29 u=C5=BCytkownik Benjamin Eberlei napisa=C5=82: > Following the valid criticisms of us starting the vote too early, we have > closed the vote for this RFC for now. > > We look to restart the vote middle next week, so that we can close this > before the Beta 3 release on September 3rd. > > We have updated the RFC at > https://wiki.php.net/rfc/shorter_attribute_syntax_change with what we > think > covers all the discussion and arguments made in this and the previous > mailing list threads. > > Sorry to everyone for causing this hazzle. > > On Mon, Aug 10, 2020 at 10:41 AM Derick Rethans wrote: > > > Hi, > > > > I've just opened the vote to make sure we don't make a terrible mistake > > with using the @@ syntax for attributes: > > > > https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting > > > > The first vote is a vote to say that you have an opinion about attribut= e > > syntax. Make sure to read up on the discussion on the mailinglist if yo= u > > haven't done so yet. > > > > The second vote is an STV vote. > > > > In STV you SHOULD rank *all* choices, but don't pick the same one more > > than once, as that will invalidate your vote. > > > > Please have a objective look at the table > > (https://wiki.php.net/rfc/shorter_attribute_syntax_change#proposal) and > > don't just go by asthetics. > Thank you for working on this. Recent update doesn't change my vote but made me even more confident about arguments behind #[] syntax. The table which compares different syntaxes have an amount of minimum chars needed for writing attribute but what I've noticed is that it differs when considering more than 2 attributes in groupped syntax. What I mean is that @@ requires always 2*N amount of chars which for 3 attributes is 6 while for syntaxes like #[] it is only 3 for N=3D1 and only 3+N-1 for N>1 which for 3 attributes is only 5 and adds always only 1 additional required chars for next additional attribute due to fact that grouped syntax requires only one comma "," between attributes. Cheers, Micha=C5=82 Marcin Brzuchalski > --000000000000a2ff4605ad005554--