Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111104 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83868 invoked from network); 22 Jul 2020 13:34:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2020 13:34:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 522C218050A for ; Wed, 22 Jul 2020 05:28:34 -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,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-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 05:28:33 -0700 (PDT) Received: by mail-lj1-f178.google.com with SMTP id q6so2280761ljp.4 for ; Wed, 22 Jul 2020 05:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RHoH3jCyaEArAzRnzrldiZZ/jw89EvWJOCdpmVbDhAA=; b=aWX/Y/Wfx1Wu7m1oEU2ezQg1WvpEGm41yNvN7OHJyBc6tPtnzT0RtHfsOJRyfCeQML 8Ekwdpt/N12FsjJM0dEeFHJzLhU13/Cj09rs9jCGGk7lSa7JtnVE/S3JPEKpngXVrnzn Q80dZPFqMZifOtqI87HT8ELQULkCFSdTrNZvoix40hhIBjFDzbustuL72eMSEXU6oG10 QNKzO4cskDLZpEp3kABbImD8SQsi2/G0SU/qlX3VB//NYgfpQ+TGJc1O4RFOWQ4G8FkP 6K3ihJ/Rxalw6jgJMPIS/l3bN7fAepdSqm4ZW/QFrRWP3oXfEgWbyMMJsXjtzWS0scCu kl7w== 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=RHoH3jCyaEArAzRnzrldiZZ/jw89EvWJOCdpmVbDhAA=; b=hGAeSMJG7qF4xDBQ7crciiJRsk2emJowDSYevIIC/nORqN7ZBSnSa+JiwfHzMB67Ox vwRjADnwm4BQtLt5J5cD6YqpTaNkM1NaDcI8BW3V7UVtHohWXn8bsIlgUnfr6pJT+qjg buhHq1lunItCSJ9ItyXYnCngaC55ys9BONi3O8sV4FwKkNzptoQyPUpVuKN3qiBrD//K eIu4xQb9xOd8wZenPvbM8hjMChD7VlpK4nwn5s7g1rgvZ6Yl3qX6gleRHf7XT5JAuASX mshp/usr2Bx0foSwQXfYzf2qbyO/jNQ8tyXDB2UG/g8no+YeJDixxvsPMSaTHvG42Fa5 6mhA== X-Gm-Message-State: AOAM531/Uh5r0f805ROGjYRJExFS3Z3zMohT8onvJkXPVPG6Ku9R+MgD YIn0A+f2Lm2xU/Jv8lm3dt+Er50hhlIdbRNOjdU= X-Google-Smtp-Source: ABdhPJwVJhQxELTTDwIwJshbC6/1FsF3k9DXbbU1chO8fC0MQR+ooCcKaHJ6nttKzFUqB8qEgzD4ZG4o35kbXUkqms8= X-Received: by 2002:a2e:9a47:: with SMTP id k7mr14950418ljj.96.1595420912221; Wed, 22 Jul 2020 05:28:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 22 Jul 2020 15:28:19 +0300 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000bd816605ab06e0d5" Subject: Re: [PHP-DEV] The @@ is terrible, are we sure we're OK with it? From: benas.molis.iml@gmail.com (Benas IML) --000000000000bd816605ab06e0d5 Content-Type: text/plain; charset="UTF-8" Also, +1. I don't really care whether we switch back to `<<...>>` or `#[...]` but I think `@@` was a bad choice and thus, I think it would be a much more sensible decision to change the syntax again. At least for the sake of not running into new ambiguities and in order to stay more similar with other languages. On Wed, Jul 22, 2020, 3:00 PM 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 > > --000000000000bd816605ab06e0d5--