Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108959 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 49462 invoked from network); 10 Mar 2020 18:22:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Mar 2020 18:22:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 80359180531 for ; Tue, 10 Mar 2020 09:43:26 -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,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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-yw1-f42.google.com (mail-yw1-f42.google.com [209.85.161.42]) (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, 10 Mar 2020 09:43:24 -0700 (PDT) Received: by mail-yw1-f42.google.com with SMTP id j71so14278351ywb.3 for ; Tue, 10 Mar 2020 09:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=73B64D6rb+Xq6fXrYuhj4XW1rkMpnpeWiMIhFSU/1+0=; b=U/l/BxTe6aZ+sVtaWTxBEuMhmUPxYkPkB4FkAXgQXep8EEhmWQqXEAK4fGVl9AuYu5 m4SNp6Fochiqq6JO67Aw0s8E15GCBqeWqnIxHiqdN5DO3MG8U/CGVkjWvxtnb1Je6hzl xeGbHYkzTzKLe3zt6JoDandrGM9Q3TL7xqx7ZBjP7AfFoeCNrS3Qz1EngnTRuh4xBHmC mdEqG1TqSmc7TGF3MadKvQFMxrX3sRXZbeqoO6gqhn6S/Q4CEATDyR15ac0kZQPWSgl0 01JN9Yzw3pc20A0ZGYELNnwGwo+yc0enletBko6G4aBFLIh0HGNz1wHqnBR47/koXWXq RHYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=73B64D6rb+Xq6fXrYuhj4XW1rkMpnpeWiMIhFSU/1+0=; b=BbhN9kwT42B0NUhlqpGL7oW0LY15/A5lxidIOm3qd/1Fgkn+F/SSvYoaK+lAI0lDGg D47PaMkT5Bo9mhpwcaEajvmvgUH7UuE7hKHuRkEQbl3g3SKZ7dOaFY5OUB1hdnpJWKbo EMoU5oO4syzi4Dv+WGmvs3O6EQbVtNrGD8LAX+j+bQh6e1+plNhT6jugm3WY/Z2o8H5R ZNAsjRmDuHWr7bqHw/QOYzJACZWtnw50ZQ1m/1PfWWp86xF0g6CPQBZz5ibaqcQZ1CsK O6/PFsbyPJWF/4GlgHPj7YiGAQcBEaM4T7FXn6u7JYLQg1zcQ91XqIxTShuyAA76sdvl bK9g== X-Gm-Message-State: ANhLgQ2hSn37yEl2xwSp92XWWfzDidC5ElmhhMVWAtqbIGA5cO4gwZTY ge+n7XBs4rvFIpAi3R/UZwA2yA== X-Google-Smtp-Source: ADFU+vufgLhNClCdyD8xeaK//jPeO29z1RKNRKz1uK1WqTIYn48fYwshQvMEeD1NxgohhegGV8/4Qw== X-Received: by 2002:a81:9c52:: with SMTP id n18mr24031648ywa.183.1583858602747; Tue, 10 Mar 2020 09:43:22 -0700 (PDT) Received: from [10.10.42.56] (h96-61-170-50.lvrgtn.dsl.dynamic.tds.net. [96.61.170.50]) by smtp.gmail.com with ESMTPSA id m128sm16327337ywc.89.2020.03.10.09.43.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2020 09:43:21 -0700 (PDT) Message-ID: Content-Type: multipart/signed; boundary="Apple-Mail=_747E14AE-0468-48FA-B6BF-EB106433D3EF"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Date: Tue, 10 Mar 2020 11:43:19 -0500 In-Reply-To: Cc: PHP Internals To: Rowan Tommins References: <2227A758-3035-4A43-974C-C4461A096DFB@newclarity.net> X-Mailer: Apple Mail (2.3608.60.0.2.5) Subject: Re: [PHP-DEV] [RFC] Attributes v2 From: ben@benramsey.com (Ben Ramsey) --Apple-Mail=_747E14AE-0468-48FA-B6BF-EB106433D3EF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 10, 2020, at 05:54, Rowan Tommins = wrote: >=20 > On Tue, 10 Mar 2020 at 01:02, Mike Schinkel = wrote: >=20 >>=20 >> I find angle brackets extremely hard to read >>=20 >=20 >=20 > You're definitely not alone in disliking the syntax, but I think it > actually looks quite neat. It reminds me firstly of templating = languages > which use {{foo}} for placeholders and/or keywords, and secondly of = French > quote marks, =C2=ABguillemets=C2=BB. It looks ugly in e-mails using = variable-width > fonts, but that's not we're going to be writing code in every day. I quite like the relationship to Hack. Hack borrowed so much from PHP, = and PHP, in turn, borrows back from Hack. Are spaces allowed in the brackets? If so, maybe that helps the = readability? << A1(123), A2 >> class C { << A3(true, 100) >> public function __construct() { /* ... */ } << A4 >> public function doIt(): void { /* ... */ } } If spaces are allowed, I imagine that folks will adopt coding standards = to aid in readability. Cheers, Ben --Apple-Mail=_747E14AE-0468-48FA-B6BF-EB106433D3EF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCXmfDpwAKCRCwLZeYnIwH G42sAP45J+mKLJB2eSYfMPpXWXndTUaavxyplwQ39IkKYpGzfAEAhVVN4VFjVQt3 vg79dZ624YyglZBg71KzJ/oeB74HqNc= =NwbO -----END PGP SIGNATURE----- --Apple-Mail=_747E14AE-0468-48FA-B6BF-EB106433D3EF--