Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111471 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 74596 invoked from network); 11 Aug 2020 16:31:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 16:31:52 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 65EAE1804AA for ; Tue, 11 Aug 2020 08:31:18 -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_H2,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-oln040092004047.outbound.protection.outlook.com [40.92.4.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 11 Aug 2020 08:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nroCTRnqc87kXFJkUnNXONVd40NV2SRFqOBxJANYd9B7RhlUywoVA+xLECkK9l4J2gouQDe7VM06b13pnKtpf+768n5OlglsizvafQ2P3ZTWpIQAnyDPQeEhDdx9xSwcSigXMs1nm/weMQ1P+JZDJ3GsOBd79EwynZpchINi7X1DTBT9hXSHpTcSzBWc3yalk9dDNUMKb7hE7Z2z7CQLiK9Mo1MxS5o0HVS0gk9HHWqayiJm3CQfYjoB0SMBFgzeUpDJ+OHQu0qDo7qkbn7Or1y2GFqPUSyKiYxd0x3PCxBtqzl7Ws9FPenttA4xzD3X7BU88vkQe+hETAivJbqLQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5ARf4Y/QLDoQQ48UDCP2/JyxqTbbuw6qeYxalhESW6s=; b=PRSCRgQoPAG+glcMLatZ9Z8IE9dZxbgKXzPDQwCTSR9zOPWza2HLe9Zs+S71qH5DID3BZ67sni+zdIxcT98OGN36D2qdTs7EzdU+mq+cW8J7Zt2mvaHm+X5KDx+YXb+zTgXTojBVdrbzJkcBf1fMdfQAdegXqLi9VfDbOnAKWiUWtJjsnaKgUnecfparIuhMW5DsuJbwr72mHP03EPMtbXG2faoocbQRVtVlLr2cGGe6qdWQehWYeN2Eb7dSCOG4xZsJZ5ptDaRAU/mbFXAVLm87OOqHaPhCBDsH59ngp9YUultb4pQY1gImWEiv+FkMaCLNdRvhyClNsdkQyuqKGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5ARf4Y/QLDoQQ48UDCP2/JyxqTbbuw6qeYxalhESW6s=; b=R2wkHt4tj6Wg6lPtgWVmLz4jETecmKO/1vXPiSYnOt1IX3ww8QA1Xoo7INUdyt4RdLKjIEnfXk53dd/M/cNf4pkEe0Wu8mjf4KoVvwPXXXcuNXY8UAkuufu6VudlVC8LqFAbAs2szjfG2DDeNP4wn//bO2F7ZgXXnzgR6pKCqp32khDKMyH76JDhoihRK5DMqp9sFUW2unkgYJoV3/5ThY789HO0Zp01Q0si3RUZNNsjusnRCScb+4Y7iKl6rMB1/dOMwtwjRu3UQnIfR/aM17N62TSCv+IL4YhW1PyuEgilA/MWNa6GFtD8HdtbNTnNjVG4hFHi/WoQzJbvkqLBKw== Received: from DM3NAM02FT016.eop-nam02.prod.protection.outlook.com (2a01:111:e400:7e71::44) by DM3NAM02HT213.eop-nam02.prod.protection.outlook.com (2a01:111:e400:7e71::202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19; Tue, 11 Aug 2020 15:31:16 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:7e71::48) by DM3NAM02FT016.mail.protection.outlook.com (2a01:111:e400:7e71::77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19 via Frontend Transport; Tue, 11 Aug 2020 15:31:16 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::fc6c:38b0:fa18:f355]) by BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::fc6c:38b0:fa18:f355%7]) with mapi id 15.20.3283.014; Tue, 11 Aug 2020 15:31:16 +0000 To: Derick Rethans CC: Chris Riley , PHP Developers Mailing List Thread-Topic: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change Thread-Index: AQHWbvIBydbCX+rhJUWK/r8c7hnlt6kysVCAgAAkzoCAAAFUAIAABrJtgAANHoCAAB8sZw== Date: Tue, 11 Aug 2020 15:31:16 +0000 Message-ID: References: , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F176987D7D87946F157027FF940F71B836C43C3F9B1BAD5C51CF27FC48CD23ED;UpperCasedChecksum:8D6F98D8A1B8ED160FA2DF754A930561F7725E214C7232FAF80A07CC43C856F2;SizeAsReceived:7385;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [d0GWZDUiC3ssBxVui9GYrVVtX62QMcwK] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 5ba2d802-fe97-47f8-2d49-08d83e0b969b x-ms-traffictypediagnostic: DM3NAM02HT213: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aIBWEx0KIO8np5iuvbdU7PmV1J64+nqBjfo4YXSWau3++TQcSEJcncw78ZTm4ZxcgqP//U92V4fBe1puowwADJwtcJnLIIqoQWk6zhJTy9Bie2IjRgz6w4kXCgqWxbd15RpjB4IGsZD0g3iJ2tkIW2eCO6fRBGmv5buTqnSjzGUpP7DCMlazjjpnv6RGNpVhzaHAxs7gS7xRQ5aeB+xK/MRem0ld4LqlgCx0D212eBxFrx0CrcOanWE32GdhFYAQ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR05MB6535.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: FVlfDrU5P1e89/g9y6yjF92nefahaSRj8eXuQqpXYEViluj44dtFLARgYxQyqyD8cCpzgc3vz9qLN2Lx1IX/BJTKIXYGHCwhXjPBTXVJ0n29GUPWlXnB+hq64Xto3V7zQ5ExfT5qGwO6QSTJ4kyLbw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT016.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 5ba2d802-fe97-47f8-2d49-08d83e0b969b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2020 15:31:16.4560 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM02HT213 Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: theodorejb@outlook.com (Theodore Brown) On Tue, Aug 11, 2020 at 8:37 AM Derick Rethans wrote:=0A= =0A= > On Tue, 11 Aug 2020, Theodore Brown wrote:=0A= > =0A= > > A second downside of @[] that doesn't appear to have been discussed=0A= > > yet is typability. On my keyboard, it requires four different keys on= =0A= > > different sides of the keyboard, whereas @@ just requires two keys.=0A= > =0A= > They're the same on a US English/US International keyboard, both 4=0A= > presses:=0A= > =0A= > For @@: Shift 2 Shift 2=0A= > For @[]: Shift 2 [ ]=0A= > =0A= > In the case of @[], an IDE likely will automatically add the=0A= > closing ].=0A= > =0A= > Additionally, on a US English/US International keybaord, Shift-2 (for @)= =0A= > is an awkward combination to type with the pinky and middle finger of=0A= > your left hand.=0A= > =0A= > On a UK English, it's the same amount, with the @ a little easier than=0A= > on a US English one, with: left-shift @/' [ ]=0A= > =0A= > So if you want to add typeability to the matrix, I can do that, but @@=0A= > comes out worse.=0A= =0A= How does @@ come out worse?=0A= =0A= For @@: Shift, double-@=0A= For @[]: Shift, @, left bracket=0A= =0A= Even if your IDE autocompletes the closing bracket, @@ is faster to=0A= type than @[] on common qwerty layouts. Also, it is easier to mistype=0A= @[ as @] (I kept doing this multiple times when typing this reply).=0A= =0A= Anyway, please do add easy typeability to the matrix, along with the=0A= fact that the @@ syntax makes attributes easier to grep for. These=0A= should have been in the matrix from the start, given that both were=0A= mentioned as factors in the Shorter Attribute Syntax RFC.=0A= =0A= When I originally wrote the Shorter Attribute Syntax RFC, I wasn't=0A= aware that it was allowed to re-vote on failed syntax options without=0A= waiting at least 6 months. Otherwise I would have included an option=0A= to re-vote for the @: syntax.=0A= =0A= Since apparently this is allowed now, can we also add @: as a voting=0A= option? I have a patch for it here: https://github.com/theodorejb/php-src/p= ull/1=0A= =0A= It seems pretty clear that the vote should be restarted anyway,=0A= given that the RFC has already been heavily edited multiple times=0A= after the voting started.=0A= =0A= Kind regards, =0A= Theodore=