Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111120 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19750 invoked from network); 22 Jul 2020 15:43:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2020 15:43:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E13E418053A for ; Wed, 22 Jul 2020 07:37:53 -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, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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-Virus: No X-Envelope-From: Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (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 ; Wed, 22 Jul 2020 07:37:53 -0700 (PDT) Received: by mail-il1-f180.google.com with SMTP id p15so1445601ilh.13 for ; Wed, 22 Jul 2020 07:37:53 -0700 (PDT) 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=ey/Zzi9CXFHUxCR8Q5usq2vbXFeu5KdpdIJHcxcVtp8=; b=HIjzmsONVl/pZivIh2RTPdwk23A7LfQoJ0LaNzYVWYE6+ejwmOKf1z7DOx7s4DVAJE QMp9+i3tqmqMOaFKSE+FfwjhMbU4OLzZLC5+1TZX7nZdYVjEM3bbvLKMS4vuA0m1WHfk 1PQnwWZOLtmBpAil3+fffmkoV3y3AX/qjHHAAeJ1evbPwDjKSw3oglAfBxmOP6MvkdM5 xXSyJQ0w0zUh7RtlSoZqAGd9jGPfjXgT+oy8vTRyBr+A9F6D33zw8LoXDGtc2DljNOFM vcL5ryVOT/HfGBwj4xgI5/4rbwCcCoGfy5Q1UNccYQUgtvTogo6ZJ6sEie9KQtVktqPD l8UA== X-Gm-Message-State: AOAM5318GUqfB2ES7PUxmS4TixFOgJoJwCdR/PtNB5g1GCQ82b2/OHe3 1EjUOLHq/x2m8bMqrkQI4rpitroatRqrRQ== X-Google-Smtp-Source: ABdhPJwM2o/3x6TWZ4lfoB1AIbUuawtPfO9SUU3AM0AkliXDJ2Frlz7C32MbQBWvDo9c6qeC9+SHvg== X-Received: by 2002:a92:cc06:: with SMTP id s6mr238813ilp.86.1595428671473; Wed, 22 Jul 2020 07:37:51 -0700 (PDT) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com. [209.85.166.54]) by smtp.gmail.com with ESMTPSA id r23sm81050iob.42.2020.07.22.07.37.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2020 07:37:51 -0700 (PDT) Received: by mail-io1-f54.google.com with SMTP id l17so2770666iok.7 for ; Wed, 22 Jul 2020 07:37:50 -0700 (PDT) X-Received: by 2002:a05:6638:69d:: with SMTP id i29mr38340083jab.47.1595428670706; Wed, 22 Jul 2020 07:37:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 22 Jul 2020 16:37:34 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List , Sara Golemon Content-Type: multipart/alternative; boundary="0000000000002ea0cd05ab08afbd" Subject: Re: [PHP-DEV] The @@ is terrible, are we sure we're OK with it? From: carusogabriel@php.net (Gabriel Caruso) --0000000000002ea0cd05ab08afbd Content-Type: text/plain; charset="UTF-8" On Wed, 22 Jul 2020 at 14:00, Derick Rethans wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > Hello Derick. I do understand your concerns, and I appreciate that you've reached out. Although we are very close to the Feature Freeze date for PHP 8.0 ( https://wiki.php.net/todo/php80), I wouldn't mind opening an exception for this specific case and let you (or someone), create an RFC proposing to change the syntax of Attributes (https://wiki.php.net/rfc/attributes_v2), and that only! I'm copying PHP 8.0's Release Manager Sara, to hear her opinion on this as well. -- Gabriel Caruso --0000000000002ea0cd05ab08afbd--