Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111468 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55420 invoked from network); 11 Aug 2020 14:46:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 14:46:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 872D51804DA for ; Tue, 11 Aug 2020 06:45:36 -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-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) (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, 11 Aug 2020 06:45:35 -0700 (PDT) Received: by mail-io1-f43.google.com with SMTP id b17so5087408ion.7 for ; Tue, 11 Aug 2020 06:45:35 -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; bh=WLzu3JSLIJpMCO/+mF6bdHPk92KxZAofQLz3OzytEIg=; b=O42MXq4AJc0Md1p6Ljtsmmhpd2v/C2NcuYVX1kqHptS9RTDVaH2vVjxSepEWS/KDMV 5Ly2Pfaa2AMcQZIXEmP6UX+5O6frgOyR9iJeY45m0ggVuN6X3Pw78gn5zpRcPXswu9mX t/V/spPHge4cqv2sdAyAFKfv72ZL5zXe+LdIXymnKnXzNz2BrRoHfEr54QMTIJ4wajZG 52oWuwUy40ACpmIZFdQKKBHYK+sgYy7eQN4Ah0BMmDPQldciabImUHyoJPda7VYq1RTP 8TW3552D06oGMgN+oj6V7Dgsd5r0MVGxAhpGKxD+LXKXdGo1jEuYUQx0zng0CHNqWVu/ bmfA== 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=WLzu3JSLIJpMCO/+mF6bdHPk92KxZAofQLz3OzytEIg=; b=oGcT1wwgTTPmTY2y73+RudWuQEGFQqazcvvPaMFFePRwPmgA5pcQDHWPywEMG0zzet 5TH2EUbpY3V0FPO/QNm6i4QIfZMTEhhb21PLl1jED/eTxAoVAGI0Uj8N3D+XzJTJplyC b3ELiCFRml/l3p3VHm7aUpgY824G8unrENC7OLs5tIG0l3Rt0+EaDl8DbsSgxQ4YyuOB TYI14O/EtfgUyhFi2iZkUDWZwsOJKfe+xz8Ljt9mjnRaKLFt8dymKeBRKPL4C0ouewM9 ivLLbOQro7DWb8Nel5ffbzQiHvn2tbHFaoDW5AxTqznY3jVcZSVcmicFUmtMEc5Ze984 O4nw== X-Gm-Message-State: AOAM531QMRNGkaKQBu2RdeKXaqXghPmGu1qFjLAtR4xiUo0TkTiTsr+T 2VPy+GYyJGeNACI3TdTnobdffPDB9icAk2jp9tB+s5Ei X-Google-Smtp-Source: ABdhPJy9Tbj89tdPQV8nRGNON3/+NIQnk4D/5DKs562HTx8v8la93nQawKpWjVhrqBKshmRaGslwM1IqZcqrhsxXwdc= X-Received: by 2002:a6b:b74b:: with SMTP id h72mr23022084iof.52.1597153535063; Tue, 11 Aug 2020 06:45:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Aug 2020 14:45:21 +0100 Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="0000000000001bf99f05ac9a4965" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: rowan.collins@gmail.com (Rowan Tommins) --0000000000001bf99f05ac9a4965 Content-Type: text/plain; charset="UTF-8" On Tue, 11 Aug 2020 at 14:15, Peter Bowyer wrote: > Anyone? > > Why is the discussion fixated on [] rather than ()? > Elsewhere, Derick clarified that he sees a "conceptual/logical" difference between brackets around just the argument list and the brackets around the whole expression, rather than anything concrete to do with parsing. I suspect this is a mental bias because we're used to pairing off ( and ) or [ and ]. If we imagine a straw man syntax with no brackets of any sort: ~~AttributeName:param1,param2! I think everyone would agree that the "!" here ended the attribute declaration, not just the parameter list. But looking closely, that's a one-to-one substitution from @@ with mandatory parens: ~~ : ! @@ ( ) That doesn't mean it's wrong to say there's a different feeling between the two, but does highlight that like every other factor discussed, this is basically a subjective feeling, rather than anything substantial. Regards, -- Rowan Tommins [IMSoP] --0000000000001bf99f05ac9a4965--