Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110435 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15186 invoked from network); 8 Jun 2020 20:22:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Jun 2020 20:22:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2C3D91804FD for ; Mon, 8 Jun 2020 12:06:25 -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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE 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-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.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 ; Mon, 8 Jun 2020 12:06:23 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id x6so18589625wrm.13 for ; Mon, 08 Jun 2020 12:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PWWLXFBmCkJdTdi+3ACg1lHBwhcbTkiqDiYoYkEniR8=; b=RlT0Fy6Nf+yZEjLN42gRwz1eYJlJqkKf3600IYCylWbLw9fkC3tNXX8pq+O/QFOb45 x5w3TrFOmKlm8/WX8uGajxgOrp9fBt2bV3m03UfdhIEhEqRtK0QWZqVXnb5Gb7bFxiKR hV2VFEY4O7hDLKJiCXm7UWxNWKJ2KbDaQvhGYCQfRZkkcQvUn6wA20JX603hiUNYWdvC EidRyRCRYIgKm1A+q7XfmHxbnNjhkSCWtx8afLK7yDKegcLx17j3LZj26JiB7SP/Wj9C nHS4XuE4/6FO4Motx9das/0IPToiX6XaLO9xnW+W3pZW/rN7kmX57d6jt4IR16rXdPu9 Wjzg== 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=PWWLXFBmCkJdTdi+3ACg1lHBwhcbTkiqDiYoYkEniR8=; b=RIweBfO/vwkaEzDQhPVn94bCUbV7kQMrtg2CO7tXehyjlapBy8yycVirrDthFyHQQs cinlgp38pfJmfcU8pKpmiX10qGuBaFAYl0qOcIIYRq5s47L8QWGirPOcDPj/XO6qAWxW sXY4CmKfkVF8tpSel0KIad3fhEcfnvqKVsvC//Bh1oEBSsoSAQm7OE3Xc/G6/SfWGPM9 g3DmfwkntyyZDSLS0xz7XSsVXP/EwCXNkDytPeAojvecS7aabPRkyiHxO2BvBY9e69D5 Za4XmJGnIpZa9F4UeeIAl5BqSE/GpguvCfp03OUZ0lnvut1m34+vvtpeeb+JlNBw/oIo qLOA== X-Gm-Message-State: AOAM533jFUumPuZAMzSR6dmfot9/jubNDNhI7nmYlLtoGGJ3hAgL9G/8 zI7LcprvX4TI7j0HpKUP6Ky7OlUWkgYRvV87uQHuXotK X-Google-Smtp-Source: ABdhPJwPI7/Ni5T14B2aJhcjplH+BvDxPK7qJRc0nr36v+GKFN9Vwis0MSRv6nUEXoTIiI6dlOGgrQW+EAfCBLkwGRM= X-Received: by 2002:adf:e588:: with SMTP id l8mr259407wrm.255.1591643180175; Mon, 08 Jun 2020 12:06:20 -0700 (PDT) MIME-Version: 1.0 References: <732f2e74-ff08-5353-7fb4-c9ab7e33b7f5@lsces.uk> In-Reply-To: <732f2e74-ff08-5353-7fb4-c9ab7e33b7f5@lsces.uk> Date: Mon, 8 Jun 2020 21:06:09 +0200 Message-ID: To: Lester Caine Cc: PHP Internals Content-Type: multipart/alternative; boundary="0000000000005d233505a7974ef5" Subject: Re: [PHP-DEV] [VOTE] Attribute Amendments From: kontakt@beberlei.de (Benjamin Eberlei) --0000000000005d233505a7974ef5 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 8, 2020 at 6:48 PM Lester Caine wrote: > On 08/06/2020 16:30, Benjamin Eberlei wrote: > > > > > > On Mon, Jun 8, 2020 at 11:11 AM Lester Caine > > wrote: > > > > On 08/06/2020 09:44, Marco Pivetta wrote: > > > I was mostly conflicted around the "allow grouped attributes" > > bit, but > > > James Titcumb (who currently cannot write to this list due to > bounced > > > emails) convinced me that it is a good replacement for `/**` and > > `*/`: > > > > If twenty years of documentation provided by docblocks is to be > > replaced > > there has to be a compelling reason to do so and while this latest > > drive > > for yet another documentation method seems to be now a fate acompli > > there WAS no reason to replace that perfectly acceptable > documentation! > > > > > > Attributes are not documentation (they could theoretically be used for > > it, but its not the intented use-case). > > > > Attributes are supposed to be used with Runtime Reflection to have an > > effect on the program. > > > > Their existence does not supersede docblocks, only the use of docblocks > > for meta-programming (essentially doing what Attributes allows with > > docblocks). > > So the statement that "it is a good replacement for `/**` and `*/`" is > not correct ... it may be that others do not understand the difference? > Personally none of this is addressing the fundamental problem of > providing a generic variable system that can manage range as well as > 'type' ... something the docblock have been providing for a long time > and moving part of that to some new element is only making things worse :( > Ah I think i understand where you come from, the original wording from Marco was I believe meant to explain only an analogy that <<>> can be seen as enclosement similar to /** */ in docblocks. > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - https://lsces.uk/wiki/Contact > L.S.Caine Electronic Services - https://lsces.uk > Model Engineers Digital Workshop - https://medw.uk > Rainbow Digital Media - https://rainbowdigitalmedia.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0000000000005d233505a7974ef5--