Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111466 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52352 invoked from network); 11 Aug 2020 14:38:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 14:38:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A33E21804D2 for ; Tue, 11 Aug 2020 06:37:39 -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=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Tue, 11 Aug 2020 06:37:38 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 0FD7610C24A; Tue, 11 Aug 2020 14:37:38 +0100 (BST) Date: Tue, 11 Aug 2020 14:37:37 +0100 (BST) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: Theodore Brown cc: Chris Riley , PHP Developers Mailing List In-Reply-To: Message-ID: References: , User-Agent: Alpine 2.23 (DEB 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: derick@php.net (Derick Rethans) On Tue, 11 Aug 2020, Theodore Brown wrote: > A second downside of @[] that doesn't appear to have been discussed > yet is typability. On my keyboard, it requires four different keys on > different sides of the keyboard, whereas @@ just requires two keys. They're the same on a US English/US International keyboard, both 4 presses: For @@: Shift 2 Shift 2 For @[]: Shift 2 [ ] In the case of @[], an IDE likely will automatically add the closing ]. Additionally, on a US English/US International keybaord, Shift-2 (for @) is an awkward combination to type with the pinky and middle finger of your left hand. On a UK English, it's the same amount, with the @ a little easier than on a US English one, with: left-shift @/' [ ] So if you want to add typeability to the matrix, I can do that, but @@ comes out worse. cheers, Derick -- PHP 7.4 Release Manager Host of PHP Internals News: https://phpinternals.news Like Xdebug? Consider supporting me: https://xdebug.org/support https://derickrethans.nl | https://xdebug.org | https://dram.io twitter: @derickr and @xdebug