Re:Pipelining might be my favorite programming language feature
by layer8 on Monday April 21, 2025 @11:53AM
(#43753353)
It would be even better without the `>`, though. The `|>` is a bit awkward to type, and more noisy visually.
[ Parent
| on HN ]
Re:Pipelining might be my favorite programming language feature
by MyOutfitIsVague on Monday April 21, 2025 @11:56AM
(#43753394)
I disagree, because then it can be very ambiguous with an existing `|` operator. The language has to be able to tell that this is a pipeline and not doing a bitwise or operation on the output of multiple functions.
Re:Pipelining might be my favorite programming language feature
by layer8 on Monday April 21, 2025 @12:06PM
(#43753516)
Yes, I’m talking about a language where `|` would be the pipe operator and nothing else, like in a shell. Retrofitting a new operator into an existing language tends to be suboptimal.