3 ms·
I prefer a third approach - chaining method calls via `.method()`. C#'s LINQ extension methods and Rust's iterator methods do it and I find it to be the best of
by martin-t 2y ago
I prefer a third approach - chaining method calls via `.method()`. C#'s LINQ extension methods and Rust's iterator methods do it and I find it to be the best of both worlds most of the time.
- behnamoh 2y agoSo the "fluent design" approach? I like that too, and many OO languages allow for that, but I haven't seen that approach in functional programming.
- 3836293648 2y agoReally? Iterator methods are the only part of Rust/C# that feel like normal decent function composition. Except Haskell is backwards.