Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111464 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 47541 invoked from network); 11 Aug 2020 14:16:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 14:16:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E3A6F1804AC for ; Tue, 11 Aug 2020 06:16:06 -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-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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:16:06 -0700 (PDT) Received: by mail-io1-f48.google.com with SMTP id g14so12562790iom.0 for ; Tue, 11 Aug 2020 06:16:06 -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=jVeMZoPm5jNnWqJ7pc0Qs6PB7tu8NgrH9UoWMndHmAg=; b=MiXy1V228FDkxxIqfgr99H2bVRQ+d3UnRemPKGpYwgGRsOrUYI22QzaJY8m2Gm6fGu /1aMSzDOigcL/IGXmIjYFcwUIo2q/EWie7QUJUfID2EGjDGMkGiIRve2prEA5HLY7y5J nZUspvMtATjowKgB/r5G9MGh8P1G/PLJ6Nobuc87+1mO79TaR/uqjexXGIxqky4CewsF rwuUEuwUdhpTWqbK5aSuCK12P9zdfjm68qfF/x6sQfOwrW4k+H8wsmfmqJl7EVOmNQ/g GtWo100pT5x6zf0jHnuCp10Tr1fEuI0pAvIYBrlnp6Nz00YWx/AK/8KGRx3+lZ+IlQR7 Ocfg== 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=jVeMZoPm5jNnWqJ7pc0Qs6PB7tu8NgrH9UoWMndHmAg=; b=DxB9wyvltJdzeKfG2p+1G7709IG6eCjzMeFhA//w0wCHTXkEHoyW72i58rYJ2ILYLv ixr0uCwDRhiyLAmE0oAkMjuwN0LHcXBC/JEJ38u3qniKKUyulOomMw0t9oFi7B01EqT2 U0/xFjZRGHExfHJmzn9OQ7uHa+QAMidhubaYV5cfauvXPlR/v5WyWLMxKKoeEKzwj2ZP ztdjAVFoLBWbdpC6/kc+s7Jh4qfZ82XGcYv5dbW/fR6NYE0bn1NAU7U0NqxeniMtWaRY Q+dXAgPXWYxOYv9zjy37SWSj/Wm2YJZOfRoR5oOvfuAlyElW5gtbud4LeNxZs1ovCbfS TsXw== X-Gm-Message-State: AOAM530KYXDt6Vpknrd+uTLJRFCXZEbu+RLam3Y6GjyITQhG4YoPRi+w 7MxL91t0WwpSP7zgfZBk/TGKO2Tzu+3Jwyj6AoM= X-Google-Smtp-Source: ABdhPJyLxrHFtM5Yxx0F/1F91YqoJ+QlXiq8eaSgxDHIFCdneHgrnplYImfTQbbd/8IC4fp3rKHl02St+iUCQ+sbsDk= X-Received: by 2002:a6b:bc82:: with SMTP id m124mr22942985iof.172.1597151765886; Tue, 11 Aug 2020 06:16:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Aug 2020 15:15:39 +0200 Message-ID: To: Theodore Brown Cc: Chris Riley , Derick Rethans , PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000a87f1405ac99df16" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: kjarli@gmail.com (Lynn) --000000000000a87f1405ac99df16 Content-Type: text/plain; charset="UTF-8" On Tue, Aug 11, 2020 at 3:03 PM 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. > If typability really matters, we should've deprecated the backtick version to run things. We also seem to forget about readability. @@ makes things really hard to read for me as it draws attention, the same goes for <> being written as such, with spaces it's fine. In terms of @[] typability, my IDE auto completes the ] when I type [. After that we have to type a word which will most likely require keys on the right side of the keyboard anyway. Sure, typing @@ is easier, for me this is at the cost of readability. I read code more frequently than I write it, so I think this should matter more. Please don't use @@ for annotations/attributes. --000000000000a87f1405ac99df16--