On Mon, Jun 5, 2017 at 1:09 PM, Fleshgrinder <p...@fleshgrinder.com> wrote:

> On 6/5/2017 9:03 PM, Ryan Pallas wrote:
> > However, ($obj) -> $var is valid variable property syntax.
> >
>
> Gosh, we really have support for everything. :D That one is even very
> important for stuff like `(new A)->f()`.
>
> How about ~> which I at least cannot think of any place it is used at
> all. ~ in binary negation and the only place we use it (I checked the
> language parser this time to make sure).
>
> I really dislike the ==> idea. One of the main reasons here is to write
> less and it looks too much like => or even >= which I really don't like.
>
>     ($a, $b) ==> $a >= $b
>
>     ($a, $b) ~> $a >= $b
>
>
I can get behind using the tilde. Keeps it concise, but it's visually
different than existing syntax, making it easier to recognize (IMO).


> --
> Richard "Fleshgrinder" Fussenegger
>
>

Reply via email to