Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110438 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42358 invoked from network); 8 Jun 2020 22:59:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Jun 2020 22:59:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 829191804F3 for ; Mon, 8 Jun 2020 14:43:18 -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, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.80.0.0/12 X-Spam-Virus: No X-Envelope-From: Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2046.outbound.protection.outlook.com [40.92.18.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 8 Jun 2020 14:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ec2WABM4wl/jwx81bDjMX0JbEBZRsuIWXFQmaeNvkW/Uc3AdtkqPchnAb4G6AH80n0d/bJrIYSbZwn5DKmQ/T/0iEIHaq+wctOlx4rlyqiUqM7bxDsybPLYj10bqPKBRIJOlX7XvkNW0tpLUixKnYs5GR4SnZ9g4Cmxcd93Hz0IMAB+X0lwZZcKiY7HIuLxG1/vhgWDFM5xA5I4WTDkuER9D8OzSWoQ7rcTEGGEpLpkVa1TcvWp1L3QkLaNvJQrbOdroGiFcuq3fmnk9+O9XoQemsLR1VWtgnlaJef7erMGAyM0Q0SzBYnRrRRiFyf5clI2jzuL1XUp8I2twWQ4VOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H+7sxCk4IloahnKWsjWixcmIc10gGV68+mxi3xnlv4c=; b=NOLMR6y1+e7w6voyS1fEfHz3d0htERsuACR9tCBb01oYzLgxfwLHjtWuDmnblVEVOodPDZ6vB2CTB0CT0DWmEnytPUX4PTv8R+jPyoUSPBFRsVy4BRAFvBekVSGQWCpaCppMOqLGVI8wydVPPz41etnBPxMmWLlbZUoCzMfoWm9wuVE89eHzD299FoGeCps8BDMCCK3fI29mOoYdFnpcjlrQkF7HHMkmC5NGTEXgmPIfWu97//0f+gjm61iuLeKJEc4hnVHHxxn7S/BFcn8Ofa4NK0PK3usqS219bFSUOnvLO3L+pp0IDnbbUhz2wkIOAvuCNBYNeM0B543EpK6RCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H+7sxCk4IloahnKWsjWixcmIc10gGV68+mxi3xnlv4c=; b=OTlQOeTfAWPMQ5IceNTPq/OXeMibScXsvIkbrjRN/1rMdzwAyoZYbbaipm0Khuxb+BXRqoX+k1GeG6MCdkMu3wfV9jb7SRjN7HGyS5cskXZ4cseRgPY+J8p2FpKPklLxJWomCK07iy7+HKlhhxMI6kTEg7W3IcIYGcmBoYY9eExBBRthA1ignpxVOOuFYekE/MJHUNmQykZsWOi+jGz6vJeFkP63e+G6iFedL0w47WDdoAEilKb5lU5AEi0kfnp9DLf9PC4/cBNohMR5hCc6tn/cD3ZBVwPd2zlyeJzrz6XM7ly6A1JawNcTej90AVerThrKOuURgi+BMPyUOM4Orw== Received: from DM6NAM11FT006.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::53) by DM6NAM11HT136.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::383) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Mon, 8 Jun 2020 21:43:15 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:fc4d::48) by DM6NAM11FT006.mail.protection.outlook.com (2a01:111:e400:fc4d::360) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Mon, 8 Jun 2020 21:43:15 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::54e2:1eeb:fc5d:8c21]) by BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::54e2:1eeb:fc5d:8c21%3]) with mapi id 15.20.3088.017; Mon, 8 Jun 2020 21:43:15 +0000 To: Markus Fischer , "internals@lists.php.net" Thread-Topic: [PHP-DEV] [RFC] Shorter attribute syntax Thread-Index: AQHWOgIv0rCwDWp4oECJgOMrWx9MxKjItJCAgABT1+2AAnlHgIAB4RWMgABgUwCAAE4Q4IAA+loAgAA7kk0= Date: Mon, 8 Jun 2020 21:43:15 +0000 Message-ID: References: <5ebecd58-9f39-72b9-369d-dbb60b80af36@gmail.com> ,<17c4780c-b4c5-d726-3ee7-915b7762bb57@fischer.name> In-Reply-To: <17c4780c-b4c5-d726-3ee7-915b7762bb57@fischer.name> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:94668A9C5606B9BB1A32BAD2D5DE95A67AA7C769104C55EC8A36BFE064C9A87A;UpperCasedChecksum:17348D29B4C8978A87114F04FCC7C21C4618E3518D62A62E216DEFAAB35533E9;SizeAsReceived:7422;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [fs3PMNTXhFzkCePwK7/fJ7s7nH28X69f] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 5fb0a20c-28fa-411a-04bc-08d80bf4f335 x-ms-traffictypediagnostic: DM6NAM11HT136: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oXNpSgTQPkUJ4Y1Szwibrvc1ONxIpLESsrqaWRT5ztXw26HRQoat3fz1h0uidBhiOZ5YT+kF6NnFX7akVrKtQBGsDXt2sFKTKs8irzVtm06Oj64228SGZPaqXAvYko/L9eS4TCt22a2zzn/IZ1yewdX44tBkrdNTfOYpwV5AwEt528rtvXJxZKoubUpWFTvOXAPF+iVx1d73Nvj7SLrkQnfrwvPKwCCT8lB8cL1WFb7OZuImkYd5cU20lotTxm6+ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR05MB6535.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: 4oqfr9QGdJLvcjCw1vpIc/ToSeIf4Dr0jU8dMgjly4jWjlo523ZP+XLlOjCwaups7bTdZlugR2EcU/giHzwD0xFu06O6uSR0zsXkg37wpfBsh6p9wcLxPcp58kdvWzLc4q9u/jUt4kSp79wdE17EgQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 5fb0a20c-28fa-411a-04bc-08d80bf4f335 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2020 21:43:15.2229 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM11HT136 Subject: Re: [PHP-DEV] [RFC] Shorter attribute syntax From: theodorejb@outlook.com (Theodore Brown) On Mon, June 8, 2020 at 1:08 PM Markus Fischer wrote:= =0A= =0A= > I noticed that my `@` character did bleed/meld almost with the first =0A= > character of the attribute name...wide characters like the `M` almost=0A= > touch the `@`.=0A= =0A= Hi Markus,=0A= =0A= The first question that comes to my mind is, wouldn't this also be an=0A= issue in all the other languages that use the `@Attr` syntax?=0A= Personally I've used TypeScript decorators quite a bit, and the use=0A= of the `@` character hasn't been a readability problem there.=0A= =0A= I guess this mostly comes down to the font you use. E.g. here's how=0A= the example looks for me in VS Code with the JetBrains Mono font:=0A= =0A= https://imgur.com/a/qWQf6lz=0A= =0A= And it's probably safe to say that syntax support/highlighting in=0A= PhpStorm will be improved prior to the release of PHP 8.0. :)=0A= =0A= Best regards, =0A= Theodore=0A=