Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111101 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 76936 invoked from network); 22 Jul 2020 13:05:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2020 13:05:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A5CBD18050A for ; Wed, 22 Jul 2020 05:00:12 -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.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Wed, 22 Jul 2020 05:00:12 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 3520710C00E for ; Wed, 22 Jul 2020 13:00:11 +0100 (BST) Date: Wed, 22 Jul 2020 13:00:10 +0100 (BST) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: PHP Developers Mailing List Message-ID: User-Agent: Alpine 2.23 (DEB 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: The @@ is terrible, are we sure we're OK with it? From: derick@php.net (Derick Rethans) Hi all, I know we've voted twice on this already, but are we really sure that the @@ syntax is a good idea? - There are lots of grumbles, both on here, room 11, as well as in the wider community (https://www.reddit.com/r/PHP/comments/hjpu79/it_is/) - It has the distinct possibility to cause further parsing issues, akin to what ended up happening with what Nikita is addressing at https://wiki.php.net/rfc/namespaced_names_as_token - There is no "end symbol" to make finding occurences easier. - It is a syntax *no other language* uses. - @ is never going to go away, so the possibility of @@ moving to @ is also 0. Please, let's do the sensible and use the Rusty #[...] syntax. cheers, Derick -- PHP 7.4 Release Manager Host of PHP Internals News: https://phpinternals.news Like Xdebug? Consider supporting me: https://xdebug.org/support https://derickrethans.nl | https://xdebug.org | https://dram.io twitter: @derickr and @xdebug