For those familiar on the matter…

What's your preferred syntax for the pipeline operator?

#FunctionalProgramming #PipelineOperator #FSharp #HackLanguage #Hack #Facebook #Microsoft #ProgrammingLanguages #Programming #Coding

F# style
100%
Hack style
0%
Poll ended at .
@manlycoffee That was a small sample...
However, I think F# style is more interesting because it rely only on currying.
The F# pipe operator has no other special compiler support:
let (|>) x f = f x
The Hack style need a strong compiler support, cannot be changed or extended.
I happens I would like to swap params, but it's actually rare and there is usually a better name to give to the function with swapped parameters.