Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109885 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 86800 invoked from network); 28 Apr 2020 17:34:13 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Apr 2020 17:34:13 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 546341804F2 for ; Tue, 28 Apr 2020 09:07:27 -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-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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, 28 Apr 2020 09:07:26 -0700 (PDT) Received: by mail-io1-f41.google.com with SMTP id y26so13613797ioj.2 for ; Tue, 28 Apr 2020 09:07:26 -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=B0/JfFLaIeqZzBYdZDoS+xWrEbgGiAn9Q2dyU9P5WFs=; b=c4iSfCLGmtAiDhhZRkaHlDV7uQE4sVrzP1t7NB36SuvEjezpIVuROiBuV6lQhhBsLd PaEsVY7R8k9cELiVHtpN+JrjNY6edTDJ/iRA+XSVzIoeAj3NFrRheQkZLHuqTUQoWEYK ONurn0CMTLVhW6OSZJQVYI3MK6PpBHzb9c2EUhagBlGbal7ORaj/S1iZ5ViFeZd5C2Rr 6VMgbowa9307OJZyW4NdinnpPp699gTxOS01Vg6CEY4koS+sf8ZVpKkkAsXdfQlDTpAA yKokVk9Jkz0F+7AGlF64pwYL6jd2cuIwTSt98Oie6SCmh/surcxW9tC+V0ooN/Sbiy+m 02Sw== 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=B0/JfFLaIeqZzBYdZDoS+xWrEbgGiAn9Q2dyU9P5WFs=; b=ivf/9Jx3ades3nrN0HOd0NE+3l5U+njI2LO05cePX2rggHgXBGJiRcOfZ7RDFy+Zzj fnE6F9FLOvEfhexrrRcdFTZCGhPrlR+2nltMgIUe7zewySOgeiJhyIU3m8Sd667tiqV8 NJFsgPNFl/qZ3xLGxM+pk6NGkzBw2vh3BcOFJF75d+5hLeU4nv29S74wcppFwh2pQHik 6yWBhOeIHYAsyOvSRb3hFzFQ6Wa1fmvvjI7KaVJw/AMeaBFbrPs1Knx42bWH84N0udHd 3ohU9bf8A6gLxNGiv4qwDkPRcB133o/7tPp1fUq7GWIDmi4FNeIixlcs5tNKOiFHRqoe dlDw== X-Gm-Message-State: AGi0PuazUdDWwEnYzNw1fhwlkMT2bJd4TqQ1Fn6C8axKWElZG8f3aWKR 1s9X/Exs0mU/OkBGTQOSls9nsCW4/lySxy1CeI8OfhUy X-Google-Smtp-Source: APiQypKJqiUqpPkfKUx1aNX6jIj+/W7LmDau+O71daMlQLuTKn2nCPpj4GSf472RCGIPkyXu9wROR1ue0/bBUgjP1cE= X-Received: by 2002:a02:cc91:: with SMTP id s17mr24610433jap.41.1588090045781; Tue, 28 Apr 2020 09:07:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 28 Apr 2020 17:07:14 +0100 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000000d11ef05a45c0744" Subject: Re: [PHP-DEV] Renaming PhpAttribute to Attribute From: rowan.collins@gmail.com (Rowan Tommins) --0000000000000d11ef05a45c0744 Content-Type: text/plain; charset="UTF-8" On Tue, 28 Apr 2020 at 16:43, Marco Pivetta wrote: > `Attribute` is certainly too generic, and will needlessly collide with code > in the wild. > I wonder how true that is, precisely because it *is* so generic, so people will likely have used it with a prefix or in their own namespace. It might be interesting to get some stats before burdening the language with more inconsistency. > I suggest circling back to the `PHP\` namespace discussion, and having > `PHP\Attribute` if you really have a problem with current naming. That would be a second-best, in my opinion; less arbitrary than "PhpAttribute", but still awkwardly inconsistent with the rest of the language unless we have plans to move other things that feel like the same category, such as Throwable, Exception, Closure, etc. Regards, -- Rowan Tommins [IMSoP] --0000000000000d11ef05a45c0744--