News for hackers. Stuff that matters.
Re:Functional programming is finally going mainstream by zumu on Tuesday July 12, 2022 @10:01PM (#32078212)
Chaining is one way of making function composition more ergonomic, but there are others. Functional languages tend to have an operator (e.g. |> in Elixir. Think x |> f() |> g() |> h() |> i(), etc.) that gives the same benefits of chaining, but the functions don't have to be methods providing greater flexibility.

There are no comments on this comment yet.