On Tue, Apr 21, 2020 at 12:39 PM Peter Bowyer <phpmailingli...@gmail.com> wrote:
> On Tue, 21 Apr 2020 at 09:15, Peter Cowburn <petercowb...@gmail.com> > wrote: > > > I know that I'm "too late" to be making suggestions, but I would like to > > see > > a new "@@" operator over the proposed <<...>> or @:. > > > > I support this, and agree with Theodore Brown's earlier message ( > https://externals.io/message/109713#109717). > The discussion on this RFC was 5 weeks and the syntax suggestions until yesterday have all been suboptimal. While the nerd reference of a potential AT-AT operator gives me tickles, same with the now included smiley alternative @: these approaches have the downside that they don't have an end token, and are therefore visually "harder" to spot on declarations (subjective impression). It is my belief that even with @@ as secondary alternative the <<>> syntax would still prevail for this reason. I remember reasonably well how internals exploded when the namespace operator was selected, everyone was making their own appeal to the syntax gods for something different. Please be reminded how this is the 7th RFC on attributes in PHP and on many of the previous ones the problems came down to syntax, except the Attributes v1 where <<>> was proposed as well and the implementation (exposed ast\node, no namespacing) was the primary reason for it getting rejected. > > Peter >