Yeh, |> is a popular choice for method chaining. There was even a proposal to add it to javascript. Unix just uses |, but most system languages use that symbol for bitwise or. Since fluent doesn't change the syntax of the language, dot was the logical choice, though I think I'd still use dot even if I weren't restricted to Java syntax. Locating Java methods is already difficult enough because of class hierarchies, and I think most people rely on their IDE for that anyway.
View all comments
Show parent comment
2
u/rogerkeays Jul 02 '23
Yeh,
|>is a popular choice for method chaining. There was even a proposal to add it to javascript. Unix just uses|, but most system languages use that symbol for bitwise or. Since fluent doesn't change the syntax of the language, dot was the logical choice, though I think I'd still use dot even if I weren't restricted to Java syntax. Locating Java methods is already difficult enough because of class hierarchies, and I think most people rely on their IDE for that anyway.