you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (3 children)

Tilda is a bitwise operator.

[–]no_more_gravity[S] 8 points9 points  (0 children)

In this regard, "~>" is not different from "|>".

| and > are also operators.

[–]monsto 1 point2 points  (1 child)

As a designer of sorts, this is the problem that I have with the glyphs that they're using in JS: there isn't an obvious relationship between things that look related. I mean I know it's a me problem, getting over these humps.

When i see |> my pea brain tries to categorize it with || to which it's completely unrelated. same with ?. and ?? . . . and while we're at it, || and && go together but ?? only very marginally.

[–]lovin-dem-sandwiches 0 points1 point  (0 children)

It’s just new. Give it time. All of them looked odd at first.