Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111483 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 2258 invoked from network); 11 Aug 2020 18:11:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Aug 2020 18:11:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DD1011804AC for ; Tue, 11 Aug 2020 10:11:02 -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-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 10:11:02 -0700 (PDT) Received: by mail-io1-f54.google.com with SMTP id v6so13466776iow.11 for ; Tue, 11 Aug 2020 10:11:02 -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=dsc27XPIGnyLlfZuDVojoyHC3FWKuvYZfL7AfSkV2Lc=; b=JlfCemJEYFDDO0XUFKFliYUdz4SKepVUMN4jx41C5g+iQ651D/MgISI7dsV1Pa7SPB BsF93OKLZ9pO5L/j2S31VBW59llNXnLYX+4K8l1IPdT60u0xNmyjunEsSF4nBi7L3F19 OKI+mbVR5KG+veeuasdz9naXP4vzUhRWxpE7QxOOFrIomGHbQHgkBpSUuLr4xGNFkw1T eZ+bPHrNfICfjYEl7AMwsAR3/IC+1GtW0MIUTuUxYp16m/nZE7Z8iqlMQpDLoH9ad6ZO Lx16F2BBPc0peFyH3AirJEPssIqj0r1nrI3doJYiomWcsvoJnUIefRjhl0tdJPd+wvwK kmeA== 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=dsc27XPIGnyLlfZuDVojoyHC3FWKuvYZfL7AfSkV2Lc=; b=qyTV/jrLVMCIJBlJc+ALd6sWxrMwY53ZV3fTzEDB0m4225Vv/CSlQLU3LEUL8DkTBd jQZMVz0D42sr0EmLzPmSq33xZagC05QMaUgQU1AVOhRn/KRDR7l7fimRymvsN7eE4JNA VIDXra3TVkJUA0NZV4tVXbHjIiMSyLNDRM7bP10Db3B1rhO8G+6ehU6X4LCweL8Thg9q JBOCI94g1Zakf5M+W9AQ5gRX2vmWkvm+y6yg6s881kI6F+jkYqsjmXRL1p1sIU25GeGx n1B/Jbix5NbQzvBFe81Aawn/NoSA6oGn5ci+rRRVbynZENBaBucR4Wv23Duf/78/lm6c gdEA== X-Gm-Message-State: AOAM530ePr0ANAAga0nyMzypT1/+1plOY0trNvtbGW4sWfebLf7NVR0t +5OHycvkbXsOQK1Lp/EFbGtjpHICgBI4DPF2IbTrUg== X-Google-Smtp-Source: ABdhPJwo9F9I/GMwxCT8kjMlzHkA4jMOuU0PnGGFNe0II0C5QL/diEmQK+yNbDKACR7adDKs47FkuzRRBv/s5sXl3rQ= X-Received: by 2002:a6b:3bd4:: with SMTP id i203mr23665256ioa.205.1597165858556; Tue, 11 Aug 2020 10:10:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 11 Aug 2020 18:10:45 +0100 Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000a58d5705ac9d2790" Subject: Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change From: rowan.collins@gmail.com (Rowan Tommins) --000000000000a58d5705ac9d2790 Content-Type: text/plain; charset="UTF-8" On Tue, 11 Aug 2020 at 17:54, Theodore Brown wrote: > > I think you may have misunderstood my point - it's not so much about > the leading symbols but about grouping. That sounds like a reason to vote No to grouping, which you already did: https://wiki.php.net/rfc/attribute_amendments#group_statement_for_attributes1 > What will you grep for if you want to find all places where the Route attribute is used (but not some other class named Route)? With any syntax, you can't exclude other classes named Route which are also being used as annotations. If you want things to be easy to tell apart, don't call them the same thing. If you specifically want annotations to stand out, name or alias all annotations as "RouteAnnotation" or "ARoute" or something. For that matter, just make a coding standard in your project to never use grouped attributes, or always use fully-qualified names in attributes... Regards, -- Rowan Tommins [IMSoP] --000000000000a58d5705ac9d2790--