Hacker News new | ask | show | jobs
by isoprophlex 652 days ago
I love the idea but something in my brain starts to itch when I see that pipe operator

     |>
What IS that thing? A unix pipe that got confused with a redirect? A weird smiley of a bird wearing sunglasses?

It'll take some getting used to, for me...

2 comments

It's like other "arrow" digraphs in common programming languages today, such as =>. You can picture it as a triangle pointing to the right.

Many Programming Ligature fonts even often draw it that way. For instance it is shown under F# in the Fira Code README: https://github.com/tonsky/FiraCode

They considered ditching `|>` or using `|` but unfortunately there's a bunch of syntactic ambiguity.